Update error message for missing connector

This commit is contained in:
gunjpan 2016-03-15 17:01:37 -04:00
parent 3fadbe9c1d
commit 6db59cba6f
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ DataSource._resolveConnector = function (name, loader) {
var error = null; var error = null;
if (!connector) { if (!connector) {
error = util.format('\nWARNING: LoopBack connector "%s" is not installed ' + error = util.format('\nWARNING: LoopBack connector "%s" is not installed ' +
'as any of the following modules:\n\n %s\n\nTo fix, run:\n\n npm install %s\n', 'as any of the following modules:\n\n %s\n\nTo fix, run:\n\n npm install %s --save\n',
name, names.join('\n'), names[names.length - 1]); name, names.join('\n'), names[names.length - 1]);
} }
return { return {