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":