Skip to content

Commit

Permalink
add file on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
sylc authored and dsherret committed Sep 30, 2021
1 parent 7538476 commit c1a8a17
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cli/tools/installer.rs
Expand Up @@ -986,6 +986,10 @@ mod tests {

let mut file_path = bin_dir.join("echo_test");
File::create(&file_path).unwrap();
if cfg!(windows) {
file_path = file_path.with_extension("cmd");
File::create(&file_path).unwrap();
}

// create extra files
file_path = file_path.with_extension("tsconfig.json");
Expand Down

0 comments on commit c1a8a17

Please sign in to comment.