Commit cf85bcb7 authored by nanahira's avatar nanahira

fix suffix matching

parent 7edfdd41
......@@ -67,7 +67,7 @@ async function tryInstallPackages(names: string[]) {
}
async function installPlugin(name: string, info: PluginInstallConfig) {
const suffixMatching = name.match(/(.+)@.+/);
const suffixMatching = name.match(/(.+):.+/);
if (suffixMatching) {
name = suffixMatching[1];
}
......@@ -151,7 +151,7 @@ export async function installPluginEntry() {
// disabled plugin
continue;
}
if (name.startsWith('group')) {
if (name.startsWith('group:')) {
queue = queue.concat(Object.entries(info).reverse());
continue;
}
......
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