fix linter issues
This commit is contained in:
@@ -36,7 +36,7 @@ export function parseSourceMap(
|
||||
): { [programCounter: number]: SourceRange } {
|
||||
const bytecode = Uint8Array.from(Buffer.from(bytecodeHex, 'hex'));
|
||||
const pcToInstructionIndex: { [programCounter: number]: number } = getPcToInstructionIndexMapping(bytecode);
|
||||
const locationByOffsetByFileIndex = _.map(sourceCodes, (s) => _.isUndefined(s) ? {} : getLocationByOffset(s));
|
||||
const locationByOffsetByFileIndex = _.map(sourceCodes, s => (_.isUndefined(s) ? {} : getLocationByOffset(s)));
|
||||
const entries = srcMap.split(';');
|
||||
let lastParsedEntry: SourceLocation = {} as any;
|
||||
const instructionIndexToSourceRange: { [instructionIndex: number]: SourceRange } = {};
|
||||
|
||||
Reference in New Issue
Block a user