aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-cov/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-05-10 21:20:00 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-05-10 23:47:38 +0800
commitf854f3ee2bd74bbb61ed465099168b4d391f92c8 (patch)
treed0d126e9041198dfb8d27a48a251167bf4fd4e44 /packages/sol-cov/src
parent1055ca6d4435c0a9b325586e4c7af3458eff273a (diff)
downloaddexon-0x-contracts-f854f3ee2bd74bbb61ed465099168b4d391f92c8.tar.gz
dexon-0x-contracts-f854f3ee2bd74bbb61ed465099168b4d391f92c8.tar.zst
dexon-0x-contracts-f854f3ee2bd74bbb61ed465099168b4d391f92c8.zip
Remove unused deployer docs configs
Diffstat (limited to 'packages/sol-cov/src')
-rw-r--r--packages/sol-cov/src/coverage_manager.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/sol-cov/src/coverage_manager.ts b/packages/sol-cov/src/coverage_manager.ts
index bf580025b..f50f010b9 100644
--- a/packages/sol-cov/src/coverage_manager.ts
+++ b/packages/sol-cov/src/coverage_manager.ts
@@ -48,9 +48,7 @@ export class CoverageManager {
}
public async writeCoverageAsync(): Promise<void> {
const finalCoverage = await this._computeCoverageAsync();
- const jsonReplacer: null = null;
- const numberOfJsonSpaces = 4;
- const stringifiedCoverage = JSON.stringify(finalCoverage, jsonReplacer, numberOfJsonSpaces);
+ const stringifiedCoverage = JSON.stringify(finalCoverage, null, '\t');
fs.writeFileSync('coverage/coverage.json', stringifiedCoverage);
}
private _getSingleFileCoverageForTrace(