archive script by path in the CLI
This commit is contained in:
@@ -2120,14 +2120,10 @@ export async function push(
|
||||
const target = change.path.replaceAll(SEP, "/");
|
||||
switch (typ) {
|
||||
case "script": {
|
||||
const script = await wmill.getScriptByPath({
|
||||
await wmill.archiveScriptByPath({
|
||||
workspace: workspaceId,
|
||||
path: removeExtensionToPath(target),
|
||||
});
|
||||
await wmill.archiveScriptByHash({
|
||||
workspace: workspaceId,
|
||||
hash: script.hash,
|
||||
});
|
||||
break;
|
||||
}
|
||||
case "folder":
|
||||
|
||||
Reference in New Issue
Block a user