Less semicolons

pull/5370/head
William Entriken 6 years ago committed by yann300
parent 585a5703d1
commit df8b2a1a96
  1. 12
      remix-tests/src/index.js

@ -167,16 +167,16 @@ var runTestFiles = function (filepath, isDirectory, web3, opts) {
fs.walkSync = function (start, callback) {
fs.readdirSync(start).forEach(name => {
if (name === 'node_modules') {
return; // hack
return // hack
}
var abspath = path.join(start, name);
var abspath = path.join(start, name)
if (fs.statSync(abspath).isDirectory()) {
fs.walkSync(abspath, callback);
fs.walkSync(abspath, callback)
} else {
callback(abspath);
callback(abspath)
}
});
};
})
}
fs.walkSync(filepath, foundpath => {
if (foundpath.indexOf('_test.sol') < 0) {
return

Loading…
Cancel
Save