Skip to content

Commit

Permalink
Use sc-forked libs on master branch until working with original sc-fo…
Browse files Browse the repository at this point in the history
  • Loading branch information
zone117x committed Apr 3, 2018
1 parent ae4f14e commit bf1ada6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
7 changes: 1 addition & 6 deletions lib/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,7 @@ class App {
async runCompileCommand() {

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

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

//shell.exec(command);
//this.testsErrored = shell.error();

shell.cd('./..');
} catch (err) {
const msg =
Expand Down
2 changes: 1 addition & 1 deletion lib/instrumentSolidity.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const SolidityParser = require('solidity-parser');
const SolidityParser = require('solidity-parser-sc');
const preprocessor = require('./preprocessor');
const injector = require('./injector');
const parse = require('./parse');
Expand Down
2 changes: 1 addition & 1 deletion lib/preprocessor.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const SolExplore = require('sol-explore');
const SolidityParser = require('solidity-parser');
const SolidityParser = require('solidity-parser-sc');

const crRegex = /[\r\n ]+$/g;
/**
Expand Down

0 comments on commit bf1ada6

Please sign in to comment.