chore: upgrade babel to v6

This commit is contained in:
Blade Barringer
2016-03-02 21:36:27 -06:00
parent 56e53cc95f
commit 0406142e0e
49 changed files with 94 additions and 90 deletions

View File

@@ -72,7 +72,7 @@ gulp.task('test:prepare:server', ['test:prepare:mongo'], () => {
}
});
gulp.task('test:prepare:build', (cb) => {
gulp.task('test:prepare:build', ['build'], (cb) => {
exec(testBin('grunt build:test'), cb);
});

View File

@@ -20,7 +20,7 @@ export var conf = nconf;
* its tasks.
*/
export function kill(proc) {
((pid) => {
let killProcess = (pid) => {
psTree(pid, (_, pids) => {
if(pids.length) {
pids.forEach(kill); return
@@ -32,7 +32,9 @@ export function kill(proc) {
}
catch(e) { console.log(e) }
});
}(proc.PID || proc.pid));
}
killProcess(proc.PID || proc.pid);
};
/*