File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,10 @@ export class MigrateController extends UpdateControllerBase implements IMigrateC
129129 this . $fs . deleteDirectory ( path . join ( projectData . projectDir , constants . NODE_MODULES_FOLDER_NAME ) ) ;
130130 this . $fs . deleteFile ( path . join ( projectData . projectDir , constants . WEBPACK_CONFIG_NAME ) ) ;
131131 this . $fs . deleteFile ( path . join ( projectData . projectDir , constants . PACKAGE_LOCK_JSON_FILE_NAME ) ) ;
132- this . $fs . deleteFile ( path . join ( projectData . projectDir , constants . TSCCONFIG_TNS_JSON_NAME ) ) ;
132+ if ( ! projectData . isShared ) {
133+ this . $fs . deleteFile ( path . join ( projectData . projectDir , constants . TSCCONFIG_TNS_JSON_NAME ) ) ;
134+ }
135+
133136 this . $logger . info ( "Clean old project artefacts complete." ) ;
134137 }
135138
You can’t perform that action at this time.
0 commit comments