Skip to content

Commit

Permalink
fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju committed Nov 19, 2024
1 parent e49bbb1 commit 0b0ef05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/task_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ fn resolve_execution_path_from_npx_shim(
if let Some(first_line) = maybe_first_line {
// TODO(bartlomieju): this doesn't handle arguments from the second command
if first_line == "#!/usr/bin/env node"
|| first_line.starts_with("#!/usr/bin/env -S node ")
|| first_line.starts_with("#!/usr/bin/env -S node")
{
// launch this file itself because it's a JS file
return Some(file_path);
Expand Down

0 comments on commit 0b0ef05

Please sign in to comment.