less semicolons

pull/5370/head
William Entriken 6 years ago committed by yann300
parent 4ee3a6f496
commit aa9c054a1f
  1. 12
      remix-tests/src/compiler.js

@ -41,16 +41,16 @@ function compileFileOrFiles (filename, isDirectory, opts, cb) {
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 => {
// only process .sol files

Loading…
Cancel
Save