Skip to content

Commit 1202af1

Browse files
committed
Just: fix for windows
1 parent 9c284b1 commit 1202af1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

misc/just/forward.just

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import "lib.just"
33
# copy&paste necessary for each command until proper forwarding of multiple args is implemented
44
# see https://github.com/casey/just/issues/1988
55

6-
_forward := tsx + source_dir() + "/forward-command.ts"
6+
_forward := tsx + ' "' + source_dir() + '/forward-command.ts"'
77

88

99
[no-cd, positional-arguments, no-exit-message]

misc/just/lib.just

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ cmd_sep := "\n#--------------------------------------------------------\n"
1111
export CMD_BEGIN := style("command") + cmd_sep
1212
export CMD_END := cmd_sep + NORMAL
1313

14-
tsx := "npx tsx@4.19.0 "
14+
tsx := "npx tsx@4.19.0"
1515

1616
import? '../../../semmle-code.just' # internal repo just file, if present
1717
import 'semmle-code-stub.just'
@@ -32,11 +32,11 @@ _maybe_build LANGUAGE:
3232

3333
[no-cd, positional-arguments, no-exit-message]
3434
@_codeql_test LANGUAGE +ARGS: (_maybe_build LANGUAGE)
35-
{{ tsx + source_dir() }}/codeql-test-run.ts "$@"
35+
{{ tsx }} "{{ source_dir() }}/codeql-test-run.ts" "$@"
3636

3737
[no-cd, positional-arguments, no-exit-message]
3838
@_codeql_test_run_only LANGUAGE +ARGS:
39-
{{ tsx + source_dir() }}/codeql-test-run.ts "$@"
39+
{{ tsx }} "{{ source_dir() }}/codeql-test-run.ts" "$@"
4040

4141

4242
[no-cd, no-exit-message]

0 commit comments

Comments
 (0)