From f3ca0fa36c3e6af5f4ededd8376d68a3d49d707c Mon Sep 17 00:00:00 2001 From: Milan Meva Date: Fri, 6 Jun 2025 14:01:39 -0400 Subject: [PATCH] fix: scripts documentation --- docs/lib/content/using-npm/scripts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/lib/content/using-npm/scripts.md b/docs/lib/content/using-npm/scripts.md index 3ebd1bb37e4cc..a8480bf054ca2 100644 --- a/docs/lib/content/using-npm/scripts.md +++ b/docs/lib/content/using-npm/scripts.md @@ -334,7 +334,7 @@ fine: ### Exiting -Scripts are run by passing the line as a script argument to `sh`. +Scripts are run by passing the line as a script argument to `/bin/sh` on POSIX systems or `cmd.exe` on Windows. You can control which shell is used by setting the [`script-shell`](/using-npm/config#script-shell) configuration option. If the script exits with a code other than 0, then this will abort the process.