Commit cf62c35c authored by Iuri Matias's avatar Iuri Matias

comply with linter

parent e29ea30e
...@@ -7,7 +7,7 @@ let Compiler = require('./src/compiler.js') ...@@ -7,7 +7,7 @@ let Compiler = require('./src/compiler.js')
let Deployer = require('./src/deployer.js') let Deployer = require('./src/deployer.js')
let TestRunner = require('./src/testRunner.js') let TestRunner = require('./src/testRunner.js')
var runTestFiles = function(filepath, isDirectory, web3) { var runTestFiles = function (filepath, isDirectory, web3) {
async.waterfall([ async.waterfall([
function compile (next) { function compile (next) {
Compiler.compileFileOrFiles(filepath, isDirectory, next) Compiler.compileFileOrFiles(filepath, isDirectory, next)
...@@ -21,7 +21,7 @@ var runTestFiles = function(filepath, isDirectory, web3) { ...@@ -21,7 +21,7 @@ var runTestFiles = function(filepath, isDirectory, web3) {
next(null, compilationResult, contracts) next(null, compilationResult, contracts)
}) })
}, },
function determineTestContractsToRun(compilationResult, contracts, next) { function determineTestContractsToRun (compilationResult, contracts, next) {
let contractsToTest = [] let contractsToTest = []
if (isDirectory) { if (isDirectory) {
fs.readdirSync(filepath).forEach(filename => { fs.readdirSync(filepath).forEach(filename => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment