Skip to content

Commit

Permalink
fix: update bin link path for yarn berry
Browse files Browse the repository at this point in the history
  • Loading branch information
sweatybridge committed Jan 20, 2024
1 parent eb65dd4 commit b16b554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/postinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ async function main() {

// Link the binaries in postinstall to support yarn
await binLinks({
path: path.resolve("."),
path: path.join(process.env.INIT_CWD, "node_modules", "supabase"),
pkg: { ...pkg, bin: { [pkg.name]: binPath } },
});

Expand Down

0 comments on commit b16b554

Please sign in to comment.