removed meta.scripts.get warning #1544

v1.18.x
barisusakli 11 years ago
parent 9ba0dc3363
commit 4397b7ab4b

@ -271,7 +271,6 @@ var fs = require('fs'),
var relPath = jsPath.slice(('plugins/' + matches[0]).length), var relPath = jsPath.slice(('plugins/' + matches[0]).length),
pluginId = matches[0].split(path.sep)[0]; pluginId = matches[0].split(path.sep)[0];
winston.warn('[meta.scripts.get (' + pluginId + ')] filter:scripts.get is deprecated, consider using "scripts" in plugin.json');
return plugins.staticDirs[matches[0]] + relPath; return plugins.staticDirs[matches[0]] + relPath;
} else { } else {
winston.warn('[meta.scripts.get] Could not resolve mapped path: ' + jsPath + '. 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?');
@ -399,7 +398,7 @@ var fs = require('fs'),
} }
Meta.css.branding = branding; Meta.css.branding = branding;
}); });
}; };
/* Sounds */ /* Sounds */

Loading…
Cancel
Save