Skip to content

Commit 13e76e7

Browse files
committed
fix resolved path
1 parent 3b535be commit 13e76e7

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

packages/basehub/scripts/postinstall.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,14 @@ function run(cmd, params, cwd = process.cwd()) {
2626
}
2727

2828
async function main() {
29-
console.log("basehub running postinstall script...");
30-
const basehubModulePath = path.resolve("./dist/bin.js");
29+
console.log("Running postinstall script...");
30+
const basehubModulePath = path.resolve(
31+
process.cwd(),
32+
"node_modules",
33+
"basehub",
34+
"dist",
35+
"bin.js"
36+
);
3137

3238
console.log({ basehubModulePath });
3339

0 commit comments

Comments
 (0)