mirror of https://github.com/embarklabs/embark.git
style(@embark/plugins/coverage): fix linter errors
This commit is contained in:
parent
433ff4a27f
commit
fce8bca509
|
@ -1,16 +1,16 @@
|
|||
import { File } from "embark-utils";
|
||||
import {File} from "embark-utils";
|
||||
import * as fs from "fs-extra";
|
||||
import * as path from "path";
|
||||
import parser, { LineColumn, Location, SourceUnit } from "solidity-parser-antlr";
|
||||
import { EventLog } from "web3/types";
|
||||
import parser, {LineColumn, Location, SourceUnit} from "solidity-parser-antlr";
|
||||
import {EventLog} from "web3/types";
|
||||
|
||||
import { decrypt } from "./eventId";
|
||||
import { Injector } from "./injector";
|
||||
import { Instrumenter } from "./instrumenter";
|
||||
import { InstrumentWalker } from "./instrumentWalker";
|
||||
import { coverageContractsPath } from "./path";
|
||||
import { Printer } from "./printer";
|
||||
import { BranchType, Coverage } from "./types";
|
||||
import {decrypt} from "./eventId";
|
||||
import {Injector} from "./injector";
|
||||
import {Instrumenter} from "./instrumenter";
|
||||
import {InstrumentWalker} from "./instrumentWalker";
|
||||
import {coverageContractsPath} from "./path";
|
||||
import {Printer} from "./printer";
|
||||
import {BranchType, Coverage} from "./types";
|
||||
|
||||
const STATEMENT_EVENT = "__StatementCoverage";
|
||||
const POINT_FACTOR = 1000000000;
|
||||
|
@ -139,9 +139,9 @@ export class ContractEnhanced {
|
|||
const coverageId = this.getNewCoverageId(this.coverage.fnMap);
|
||||
const line = location.start.line;
|
||||
this.coverage.fnMap[coverageId] = {
|
||||
decl: location,
|
||||
line,
|
||||
loc: location,
|
||||
decl: location,
|
||||
name,
|
||||
};
|
||||
this.coverage.f[coverageId] = 0;
|
||||
|
|
Loading…
Reference in New Issue