File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change 129
129
"pluralize" : " ^1.2.1" ,
130
130
"qs" : " ^5.2.0" ,
131
131
"raf" : " ^3.1.0" ,
132
- "rimraf" : " ^2.5.2" ,
133
132
"semver" : " ^5.1.0" ,
134
133
"storage-mixin" : " ^0.6.1" ,
135
134
"turf-destination" : " ^1.2.1" ,
Original file line number Diff line number Diff line change 1
- // var async = require('async');
2
1
var ncp = require ( 'ncp' ) ;
3
- var rimraf = require ( 'rimraf' ) ;
4
2
var path = require ( 'path' ) ;
5
3
var app = require ( 'electron' ) . app ;
6
4
@@ -24,12 +22,7 @@ function changeUserDataDirectoryLocation(done) {
24
22
if ( errCp ) {
25
23
return done ( errCp ) ;
26
24
}
27
- rimraf ( oldUserDir , function ( errRm ) {
28
- if ( errRm ) {
29
- return done ( errRm ) ;
30
- }
31
- done ( ) ;
32
- } ) ;
25
+ done ( ) ;
33
26
} ) ;
34
27
} catch ( e ) {
35
28
// failed migration, handle gracefully
You can’t perform that action at this time.
0 commit comments