3
0
mirror of https://github.com/danielsogl/awesome-cordova-plugins.git synced 2025-03-28 09:52:53 +08:00

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

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

@ -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 + '\'');
}
};