Commit b3606287 authored by nanahira's avatar nanahira

reinstall when no-version

parent 9e922e23
...@@ -95,10 +95,7 @@ async function installPlugin(name: string, version?: string) { ...@@ -95,10 +95,7 @@ async function installPlugin(name: string, version?: string) {
const existingPluginVersion = await checkPluginExists(name); const existingPluginVersion = await checkPluginExists(name);
if ( if (
existingPluginVersion && existingPluginVersion &&
(existingPluginVersion === version || (existingPluginVersion === version || !version)
!version ||
version === 'latest' ||
version === 'next')
) { ) {
logger.info(`Plugin ${name}@${existingPluginVersion} exists, skipping.`); logger.info(`Plugin ${name}@${existingPluginVersion} exists, skipping.`);
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment