Skip to content

Commit

Permalink
Revert "Look for npm.cmd in addition to npm on Windows."
Browse files Browse the repository at this point in the history
This reverts commit 4050aa0.
  • Loading branch information
alexrp committed Jun 16, 2024
1 parent 4050aa0 commit 5630b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub fn build(b: *std.Build) anyerror!void {

// TODO: https://github.com/ziglang/zig/issues/15373
const pandoc_prog = b.findProgram(&.{"pandoc"}, &.{}) catch @panic("Could not locate `pandoc` program.");
const npm_prog = b.findProgram(&.{"npm", "npm.cmd"}, &.{}) catch @panic("Could not locate `npm` program.");
const npm_prog = b.findProgram(&.{"npm"}, &.{}) catch @panic("Could not locate `npm` program.");
const code_prog = b.findProgram(&.{"code"}, &.{}) catch @panic("Could not locate `code` program.");

const install_step = b.getInstallStep();
Expand Down

0 comments on commit 5630b39

Please sign in to comment.