File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export class LwcMigration extends BaseRelatedObjectMigration {
2727 const type = 'assessment' ;
2828 const pwd = shell . pwd ( ) ;
2929 shell . cd ( this . projectPath ) ;
30- // sfProject.retrieve(LWCTYPE, this.org.getUsername());
30+ sfProject . retrieve ( LWCTYPE , this . org . getUsername ( ) ) ;
3131 const filesMap = this . processLwcFiles ( this . projectPath ) ;
3232 shell . cd ( pwd ) ;
3333 return this . processFiles ( filesMap , type ) ;
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export class JavaScriptParser {
1818 const jsContentMap = new Map < string , string > ( ) ;
1919 // Read the JavaScript file
2020 const code = fs . readFileSync ( filePath , 'utf-8' ) ;
21- if ( code . includes ( 'Generated class DO NOT MODIFY' ) ) {
21+ if ( code . includes ( 'Generated class DO NOT MODIFY' ) || code . includes ( oldSource + '/' ) ) {
2222 return null ;
2323 }
2424 jsContentMap . set ( FileConstant . BASE_CONTENT , code ) ;
You can’t perform that action at this time.
0 commit comments