style(@embark/plugins/coverage): fix linter errors

This commit is contained in:
Michael Bradley, Jr 2019-09-12 19:39:53 -05:00
parent 433ff4a27f
commit fce8bca509
1 changed files with 11 additions and 11 deletions

View File

@ -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;