Use fs-plus instead of rimraf directly

This commit is contained in:
Kevin Sawicki 2014-01-03 09:06:58 -08:00
parent 704294a2d5
commit 04eef20c84

View File

@ -31,7 +31,7 @@ cp.safeExec.bind(global, 'node script/bootstrap', function(error) {
var async = require('async');
var gruntPath = path.join('build', 'node_modules', '.bin', 'grunt') + (process.platform === 'win32' ? '.cmd' : '');
var tasks = [
require('rimraf').bind(global, path.join(homeDir, '.atom')),
require('fs-plus').removeSync.bind(global, path.join(homeDir, '.atom')),
cp.safeExec.bind(global, 'git clean -dff'),
cp.safeExec.bind(global, gruntPath + ' ci --gruntfile build/Gruntfile.coffee --stack --no-color'),
]