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) {
const existingPluginVersion = await checkPluginExists(name);
if (
existingPluginVersion &&
(existingPluginVersion === version ||
!version ||
version === 'latest' ||
version === 'next')
(existingPluginVersion === version || !version)
) {
logger.info(`Plugin ${name}@${existingPluginVersion} exists, skipping.`);
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