File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ export class MigrateController extends UpdateControllerBase implements IMigrateC
165
165
matchBase : true ,
166
166
nodir : true ,
167
167
absolute : false ,
168
- root : projectData . appDirectoryPath
168
+ cwd : projectData . appDirectoryPath
169
169
} ;
170
170
171
171
const jsFiles = glob . sync ( "*.@(js|ts|js.map)" , globOptions ) ;
@@ -176,7 +176,7 @@ export class MigrateController extends UpdateControllerBase implements IMigrateC
176
176
177
177
const allGeneratedFiles = autoGeneratedJsFiles . concat ( autoGeneratedJsMapFiles ) . concat ( autoGeneratedCssFiles ) ;
178
178
for ( const generatedFile of allGeneratedFiles ) {
179
- const sourceFile = path . join ( projectData . projectDir , generatedFile ) ;
179
+ const sourceFile = path . join ( projectData . appDirectoryPath , generatedFile ) ;
180
180
const destinationFile = path . join ( backupDir , generatedFile ) ;
181
181
const destinationFileDir = path . dirname ( destinationFile ) ;
182
182
this . $fs . ensureDirectoryExists ( destinationFileDir ) ;
You can’t perform that action at this time.
0 commit comments