Skip to content

Commit bde8c84

Browse files
anandgupta42claude
andcommitted
fix: update build branding test for cp instead of symlink
The test asserted `ln -sf altimate` but we changed to `cp` in the previous commit to fix Verdaccio sanity failures. Updated test to match the new hard copy approach. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d66354c commit bde8c84

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/opencode/test/branding/upstream-merge-guard.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,9 +344,9 @@ describe("Build and package branding", () => {
344344
expect(buildTs).toContain("Python engine has been eliminated")
345345
})
346346

347-
test("build.ts creates altimate-code backward-compat symlink", () => {
348-
// Unix: symlink
349-
expect(buildTs).toContain("ln -sf altimate")
347+
test("build.ts creates altimate-code backward-compat alias", () => {
348+
// Unix: hard copy (not symlink — npm publish strips symlinks)
349+
expect(buildTs).toContain("cp dist/${name}/bin/altimate dist/${name}/bin/altimate-code")
350350
// Windows: copy
351351
expect(buildTs).toContain("altimate-code.exe")
352352
})

0 commit comments

Comments
 (0)