mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-31 11:46:15 +08:00
refactor(core): fix "Install the plugin" command when not installed (#1606)
ionic plugin add ... => ionic cordova plugin add ...
This commit is contained in:
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.');
|
console.warn('Native: tried accessing the ' + pluginName + ' plugin but it\'s not installed.');
|
||||||
}
|
}
|
||||||
if (plugin) {
|
if (plugin) {
|
||||||
console.warn('Install the ' + pluginName + ' plugin: \'ionic plugin add ' + plugin + '\'');
|
console.warn('Install the ' + pluginName + ' plugin: \'ionic cordova plugin add ' + plugin + '\'');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user