From cc8b6b6b0fdce87d9dec7ade0cfe5a264f79244b Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Wed, 29 Oct 2025 21:00:39 +0000 Subject: [PATCH] archive script by path in the CLI --- cli/src/commands/sync/sync.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cli/src/commands/sync/sync.ts b/cli/src/commands/sync/sync.ts index b3e5f9825f..7733f02d8f 100644 --- a/cli/src/commands/sync/sync.ts +++ b/cli/src/commands/sync/sync.ts @@ -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":