From 5630b39ea9d74ba09c00a4812c2907ce3be3db34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sun, 16 Jun 2024 06:55:47 +0200 Subject: [PATCH] Revert "Look for `npm.cmd` in addition to `npm` on Windows." This reverts commit 4050aa07622b33b72e34edd80ea15f03d62bd435. --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.zig b/build.zig index 0fa2690..25d017e 100644 --- a/build.zig +++ b/build.zig @@ -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();