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 @@ -257,7 +257,7 @@ class ProcessJsTask extends IncrementalFileTask {
257
257
throw new Error ( `Unable to resolve relative path for ${ filePathAndName } .` ) ;
258
258
}
259
259
260
- const bootstrapPath = file . substr ( 0 , file . length - 3 ) ; // Remove the ".js" extension.
260
+ const bootstrapPath = file . substr ( 0 , file . length - 3 ) . replace ( / \\ / g , '/' ) ; // Remove the ".js" extension.
261
261
if ( bootstrapPath . endsWith ( '.bootstrap' ) && ! this . jsBootstrapFiles . includes ( bootstrapPath ) ) {
262
262
this . jsBootstrapFiles . push ( bootstrapPath ) ;
263
263
}
@@ -366,7 +366,7 @@ class ProcessJsTask extends IncrementalFileTask {
366
366
*/
367
367
async handleDeletedFile ( filePathAndName ) {
368
368
let file = this . resolveRelativePath ( filePathAndName , this . data . jsFiles ) ;
369
- const bootstrapPath = file . substr ( 0 , file . length - 3 ) ; // Remove the ".js" extension.
369
+ const bootstrapPath = file . substr ( 0 , file . length - 3 ) . replace ( / \\ / g , '/' ) ; // Remove the ".js" extension.
370
370
if ( bootstrapPath . endsWith ( '.bootstrap' ) ) {
371
371
const index = this . jsBootstrapFiles . indexOf ( bootstrapPath ) ;
372
372
if ( index !== - 1 ) {
You can’t perform that action at this time.
0 commit comments