Skip to content

Commit 0dfafc4

Browse files
committed
fix: normalize npm bin manifest
1 parent 6e34ded commit 0dfafc4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"devtools"
2727
],
2828
"bin": {
29-
"ccr": "./bin/ccr.js"
29+
"ccr": "bin/ccr.js"
3030
},
3131
"files": [
3232
"bin",

tests/package.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ test("package manifest supports standard global installation", async () => {
66
const pkg = JSON.parse(await readFile(new URL("../package.json", import.meta.url), "utf8"));
77

88
assert.notEqual(pkg.private, true);
9-
assert.equal(pkg.bin.ccr, "./bin/ccr.js");
9+
assert.equal(pkg.bin.ccr, "bin/ccr.js");
1010
assert.equal(pkg.license, "MIT");
1111
assert.equal(pkg.repository.url, "git+https://github.com/FelixWardUS/check-codex-release.git");
1212
assert.equal(pkg.bugs.url, "https://github.com/FelixWardUS/check-codex-release/issues");

0 commit comments

Comments
 (0)