File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
libraries/rush-sdk/src/test Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,16 +15,16 @@ describe('used in script', () => {
1515 [
1616 '-e' ,
1717 `
18- const { Import } = require(" ${ coreLibPath } " );
18+ const { Import } = require(${ JSON . stringify ( coreLibPath ) } );
1919const originalResolveModule = Import.resolveModule;
2020const mockResolveModule = (options) => {
2121 if (options.baseFolderPath.includes('install-run') && options.modulePath === '@microsoft/rush-lib') {
22- return " ${ mockRushLibPath } " ;
22+ return ${ JSON . stringify ( mockRushLibPath ) } ;
2323 }
2424 return originalResolveModule(options);
2525}
2626Import.resolveModule = mockResolveModule;
27- console.log(require(" ${ rushSdkPath } " ));
27+ console.log(require(${ JSON . stringify ( rushSdkPath ) } ));
2828`
2929 ] ,
3030 {
You can’t perform that action at this time.
0 commit comments