aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFabio B <kandinsky454@protonmail.ch>2019-01-22 22:10:05 +0800
committerGitHub <noreply@github.com>2019-01-22 22:10:05 +0800
commit19f929761ba37b0c40c9953e272cd7bba4979737 (patch)
tree3868e8afee8f914a230351431c1d76bf8d57c35d /packages
parentd8890a03bbcf3c9a74a9ea6f57a83e324914f3d4 (diff)
downloaddexon-0x-contracts-19f929761ba37b0c40c9953e272cd7bba4979737.tar.gz
dexon-0x-contracts-19f929761ba37b0c40c9953e272cd7bba4979737.tar.zst
dexon-0x-contracts-19f929761ba37b0c40c9953e272cd7bba4979737.zip
Update packages/sol-tracing-utils/src/collect_coverage_entries.ts
Co-Authored-By: LogvinovLeon <logvinov.leon@gmail.com>
Diffstat (limited to 'packages')
-rw-r--r--packages/sol-tracing-utils/src/collect_coverage_entries.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/sol-tracing-utils/src/collect_coverage_entries.ts b/packages/sol-tracing-utils/src/collect_coverage_entries.ts
index b32be12dd..9ac52343c 100644
--- a/packages/sol-tracing-utils/src/collect_coverage_entries.ts
+++ b/packages/sol-tracing-utils/src/collect_coverage_entries.ts
@@ -13,7 +13,7 @@ export const collectCoverageEntries = (contractSource: string, ignoreRegexp?: Re
if (_.isUndefined(sourceHashToCoverageEntries[sourceHash]) && !_.isUndefined(contractSource)) {
const ast = parser.parse(contractSource, { range: true });
const offsetToLocation = getOffsetToLocation(contractSource);
- const ignoreRangesBegingingAt = _.isUndefined(ignoreRegexp)
+ const ignoreRangesBeginningAt = _.isUndefined(ignoreRegexp)
? []
: gatherRangesToIgnore(contractSource, ignoreRegexp);
const visitor = new ASTVisitor(offsetToLocation, ignoreRangesBegingingAt);