You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
indexFile=indexFile.replace(configMatcher,'src="$2'+location+'"');//Replace the old reference to the file with whatever the new one is (preserving any unknown path parts before)
450
-
fs.writeFile(indexLocation,indexFile);
451
-
}else{
452
-
logger.error('Error: Unable to update '+this.moduleId+' path to '+location+', could not find existing reference to replace');
453
-
}
454
-
}catch(err){
455
-
if(err.code==='ENOENT'){
456
-
logger.error('Error: No index file found at "'+indexLocation+'"');
457
-
}else{
458
-
logger.error(err);
436
+
// Validate rev is enabled and a hash was generated
0 commit comments