Skip to content

Commit e0b37b5

Browse files
committed
add comment
1 parent c910bc2 commit e0b37b5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/oxlint/src/run.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ fn lint_impl(load_plugin: JsLoadPluginCb, lint_file: JsLintFileCb) -> CliRunResu
6666
init_tracing();
6767
init_miette();
6868

69+
// 1st arg is path to NodeJS binary.
70+
// 2nd arg is path to `oxlint/.bin/oxlint` (in released packages)
71+
// or `apps/oxlint/dist/cli.js` (in development).
6972
let args = std::env::args_os().skip(2).collect::<Vec<_>>();
7073

7174
let cmd = crate::cli::lint_command();

0 commit comments

Comments
 (0)