Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit d7dc671

Browse files
authored
fix: bin.path is not a function (#198)
1 parent 4612319 commit d7dc671

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/swcx/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ const executeBinary = async () => {
134134

135135
await bin.run();
136136

137-
const binPath = bin.path();
137+
const binPath = bin.path;
138138

139139
const [, , ...args] = process.argv;
140140
const options = { cwd: process.cwd(), stdio: "inherit" as StdioOptions };

0 commit comments

Comments
 (0)