Skip to content

Commit bf1ada6

Browse files
committed
Use sc-forked libs on master branch until working with original sc-forks#2
1 parent ae4f14e commit bf1ada6

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

lib/app.js

+1-6
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,7 @@ class App {
230230
async runCompileCommand() {
231231

232232
try {
233-
//const defaultCommand = `truffle compile ${this.network} ${this.silence}`;
234-
//const command = this.compileCommand || defaultCommand;
235-
//this.log(`Running: ${command}\n(this can take a few seconds)...`);
233+
this.log(`Running: truffle compile\n(this can take a few seconds)...`);
236234
shell.cd(this.coverageDir);
237235

238236
let Config = require("truffle-config");
@@ -243,9 +241,6 @@ class App {
243241
});
244242
await new Promise(resolve => Contracts.compile(config, resolve));
245243

246-
//shell.exec(command);
247-
//this.testsErrored = shell.error();
248-
249244
shell.cd('./..');
250245
} catch (err) {
251246
const msg =

lib/instrumentSolidity.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const SolidityParser = require('solidity-parser');
1+
const SolidityParser = require('solidity-parser-sc');
22
const preprocessor = require('./preprocessor');
33
const injector = require('./injector');
44
const parse = require('./parse');

lib/preprocessor.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const SolExplore = require('sol-explore');
2-
const SolidityParser = require('solidity-parser');
2+
const SolidityParser = require('solidity-parser-sc');
33

44
const crRegex = /[\r\n ]+$/g;
55
/**

0 commit comments

Comments
 (0)