Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PaDarochek committed Nov 29, 2023
1 parent 8fa5993 commit e21996d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions casr/src/bin/casr-js.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ fn main() -> Result<()> {
};

Check warning on line 113 in casr/src/bin/casr-js.rs

View check run for this annotation

Codecov / codecov/patch

casr/src/bin/casr-js.rs#L112-L113

Added lines #L112 - L113 were not covered by tests
path_to_tool = full_path_to_tool;
let fname = fname.to_string_lossy();
if (fname.ends_with("node") || fname.ends_with("jsfuzz")) && argv[1].ends_with(".js") {
if (fname == "node" || fname == "jsfuzz") && argv[1].ends_with(".js") {
report.executable_path = argv[1].to_string();
} else if argv.len() > 2
&& fname.ends_with("npx")
&& fname == "npx"
&& argv[1] == "jazzer"
&& argv[2].ends_with(".js")
{
Expand Down

0 comments on commit e21996d

Please sign in to comment.