Fix auto add of postinstall script
This commit is contained in:
@ -56,7 +56,7 @@ export function addSyncExtensionsToPostinstallScript(params: {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cmd_preexisting.includes(cmd_base)) {
|
if (!cmd_preexisting.includes(cmd_base)) {
|
||||||
scripts[scriptName] = generateCmd({ cmd_preexisting });
|
scripts[scriptName] = generateCmd({ cmd_preexisting });
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user