Skip to content

Commit

Permalink
force overwriting npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
eltorio committed Sep 7, 2024
1 parent 21198f8 commit 5243327
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ fn main() {
let is_windows = cfg!(target_os = "windows");

let (command, install_args, build_args) = if is_windows {
("cmd.exe", &["/C", "npm install"], &["/C", "npm run build"])
("cmd.exe", &["/C", "npm install --force"], &["/C", "npm run build"])
} else {
("npm", &["install", ""], &["run", "build"])
("npm", &["install", "--force"], &["run", "build"])
};

let output = Command::new((command))
let output = Command::new(command)
.current_dir("webconsole")
.args(install_args)
.output()
Expand Down

0 comments on commit 5243327

Please sign in to comment.