Skip to content

Commit

Permalink
change tab to space
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaslabbe committed Sep 29, 2016
1 parent 4312f4b commit 67e4d1e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"url": "git://github.com/AdFabConnect/abejs.git"
},
"scripts": {
"lint": "./node_modules/.bin/eslint src",
"lint": "eslint src",
"test": "mocha --compilers js:babel-register --require babel-polyfill",
"test-cov": "istanbul cover _mocha -- --compilers js:babel-register --require babel-polyfill",
"test-coveralls": "istanbul cover _mocha --report lcovonly -- --compilers js:babel-register --require babel-polyfill -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
Expand Down
30 changes: 15 additions & 15 deletions src/cli/helpers/abe-process.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ var abeProcess = function(name, args = []) {

var file = `${__dirname}/../../cli/process/${name}.js`
try {
var stats = fse.statSync(file)
if (stats.isFile()) {
process.fork(file, args)
}
}catch(err) {
try {
file = Plugins.instance.getProcess(name)
var stats = fse.statSync(file)
if (stats.isFile()) {
process.fork(file, args)
}
}catch(err) {
}
}
var stats = fse.statSync(file)
if (stats.isFile()) {
process.fork(file, args)
}
}catch(err) {
try {
file = Plugins.instance.getProcess(name)
var stats = fse.statSync(file)
if (stats.isFile()) {
process.fork(file, args)
}
}catch(err) {
}
}
}

export default abeProcess

0 comments on commit 67e4d1e

Please sign in to comment.