refactor(core): fix "Install the plugin" command when not installed (#1606)

ionic plugin add ... => ionic cordova plugin add ...
This commit is contained in:
Jan Piotrowski 2017-05-25 19:05:59 +02:00 committed by Ibby Hadeed
parent 6f22134851
commit bf3f9d8799

View File

@ -51,7 +51,7 @@ export const pluginWarn = (pluginName: string, plugin?: string, method?: string)
console.warn('Native: tried accessing the ' + pluginName + ' plugin but it\'s not installed.');
}
if (plugin) {
console.warn('Install the ' + pluginName + ' plugin: \'ionic plugin add ' + plugin + '\'');
console.warn('Install the ' + pluginName + ' plugin: \'ionic cordova plugin add ' + plugin + '\'');
}
};