Commit 3546b409 authored by William Entriken's avatar William Entriken Committed by yann300

less semicolons

parent 73de248d
...@@ -41,16 +41,16 @@ function compileFileOrFiles (filename, isDirectory, opts, cb) { ...@@ -41,16 +41,16 @@ function compileFileOrFiles (filename, isDirectory, opts, cb) {
fs.walkSync = function (start, callback) { fs.walkSync = function (start, callback) {
fs.readdirSync(start).forEach(name => { fs.readdirSync(start).forEach(name => {
if (name === 'node_modules') { 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()) { if (fs.statSync(abspath).isDirectory()) {
fs.walkSync(abspath, callback); fs.walkSync(abspath, callback)
} else { } else {
callback(abspath); callback(abspath)
}
})
} }
});
};
fs.walkSync(filepath, foundpath => { fs.walkSync(filepath, foundpath => {
// only process .sol files // only process .sol files
......
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