Skip to content

Commit 72492fe

Browse files
committed
windows... so painful
1 parent 55b59e2 commit 72492fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cli/rescript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env node
22

3-
//@ts-check
3+
// @ts-check
44

55
// This script is supposed to be running in project root directory
66
// It matters since we need read .sourcedirs(location)

lib_dev/process.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export function setup(cwd = process.cwd()) {
129129
* @return {Promise<ExecResult>}
130130
*/
131131
rescript(command, args = [], options = {}) {
132-
return exec(cliPath, [command, ...args].filter(Boolean), options);
132+
return exec("node", [cliPath, command, ...args].filter(Boolean), options);
133133
},
134134

135135
/**

0 commit comments

Comments
 (0)