fix: address PR review — await store.cas.put + bun shebang → node
CI / check (pull_request) Failing after 3m59s
CI / check (pull_request) Failing after 3m59s
- Add missing await on store.cas.put() in run.ts:192 - Replace #!/usr/bin/env bun → #!/usr/bin/env node in all CLI bins - Update issue-551 test to assert node shebang
This commit is contained in:
@@ -12,11 +12,11 @@ describe("Issue #551 — bin entry & engines", () => {
|
||||
expect(pkg.engines?.bun).toBeUndefined();
|
||||
});
|
||||
|
||||
test("bin entry file has bun shebang", () => {
|
||||
test("bin entry file has node shebang", () => {
|
||||
const pkg = JSON.parse(readFileSync(join(PKG_ROOT, "package.json"), "utf-8"));
|
||||
const binPath = pkg.bin["uwf-hermes"];
|
||||
const content = readFileSync(join(PKG_ROOT, binPath), "utf-8");
|
||||
expect(content.startsWith("#!/usr/bin/env bun")).toBe(true);
|
||||
expect(content.startsWith("#!/usr/bin/env node")).toBe(true);
|
||||
});
|
||||
|
||||
test("README.md explains uwf-hermes is an adapter", () => {
|
||||
|
||||
Reference in New Issue
Block a user