File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 127127 "prettier" : " 2.0.5" ,
128128 "prettier-eslint" : " 11.0.0" ,
129129 "qunit-dom" : " 1.2.0" ,
130+ "rimraf" : " ^3.0.2" ,
130131 "testdouble" : " 3.16.0" ,
131132 "ts-node" : " 8.10.2" ,
132133 "typescript" : " 3.7.5"
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import execa from 'execa';
44import { EventEmitter } from 'events' ;
55import got from 'got' ;
66import debugLib from 'debug' ;
7+ import rimraf from 'rimraf' ;
78
89const debug = debugLib ( 'skeleton-app' ) ;
910
@@ -15,7 +16,7 @@ const getEmberPort = (() => {
1516export default class SkeletonApp {
1617 port = getEmberPort ( ) ;
1718 watched : WatchedBuild | null = null ;
18- cleanupTempDir = ( ) => fs . removeSync ( this . root ) ;
19+ cleanupTempDir = ( ) => rimraf ( this . root , ( error ) => console . error ( error ) ) ;
1920 root = path . join ( process . cwd ( ) , `test-skeleton-app-${ Math . random ( ) . toString ( 36 ) . slice ( 2 ) } ` ) ;
2021
2122 constructor ( ) {
You can’t perform that action at this time.
0 commit comments