ninjafix to mappedPath

v1.18.x
Julian Lam 11 years ago
parent 1c19ae48bd
commit 1f136c6a72

@ -263,7 +263,7 @@ var fs = require('fs'),
var relPath = jsPath.slice(new String('plugins/' + matches[0]).length); var relPath = jsPath.slice(new String('plugins/' + matches[0]).length);
return plugins.staticDirs[matches[0]] + relPath; return plugins.staticDirs[matches[0]] + relPath;
} else { } else {
winston.warn('[meta.scripts.get] Could not resolve mapped path: ' + mappedPath + '. Are you sure it is defined by a plugin?'); winston.warn('[meta.scripts.get] Could not resolve mapped path: ' + jsPath + '. Are you sure it is defined by a plugin?');
return null; return null;
} }
} else { } else {

Loading…
Cancel
Save