From dfa7a2ac43d97cd6b0ca5b016540b80886918ee7 Mon Sep 17 00:00:00 2001 From: nlf Date: Thu, 28 Jan 2021 12:46:26 -0800 Subject: [PATCH] Apply suggestions from code review --- docs/content/commands/npm-run-script.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/content/commands/npm-run-script.md b/docs/content/commands/npm-run-script.md index 8281ab720c3a2..8b89435e1a97b 100644 --- a/docs/content/commands/npm-run-script.md +++ b/docs/content/commands/npm-run-script.md @@ -32,7 +32,7 @@ npm run test -- --grep="pattern" ``` The arguments will only be passed to the script specified after ```npm run``` -and not to any `pre` or `post script. +and not to any `pre` or `post` script. The `env` script is a special built-in command that can be used to list environment variables that will be available to the script at runtime. If an @@ -56,7 +56,7 @@ instead of ``` The actual shell your script is run within is platform dependent. By default, -on Unix-like systems it is the `/bin/sh` command, on Windows it is the +on Unix-like systems it is the `/bin/sh` command, on Windows it is `cmd.exe`. The actual shell referred to by `/bin/sh` also depends on the system. You can customize the shell with the `script-shell` configuration. @@ -102,7 +102,7 @@ Skips running `pre` and `post` scripts. * Default: `null` Optional custom script to use to execute the command. If not defined defaults -to `/bin/sh` on Unix, defaults to `env.comspec` or `cmd` on Windows. +to `/bin/sh` on Unix, defaults to `env.comspec` or `cmd.exe` on Windows. #### silent