Relax plugin id url heuristic, since java uses single slash instead of double
This commit is contained in:
parent
9c65bd4ac4
commit
8de90a66a1
|
@ -237,7 +237,7 @@ class InstallPluginCommand extends SettingCommand {
|
|||
}
|
||||
|
||||
// fall back to plain old URL
|
||||
if (pluginId.contains("://") == false) {
|
||||
if (pluginId.contains(":/") == false) {
|
||||
// definitely not a valid url, so assume it is a plugin name
|
||||
throw new UserError(ExitCodes.USAGE, "Unknown plugin " + pluginId);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue