Skip to content

Commit 07d65c0

Browse files
authored
Link to GitHub issue about bug with npm and powershell args (#184)
npm/cli#3136
1 parent ecdf2a0 commit 07d65c0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

demos/docker/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,10 @@ No, this demo used Powershell to create a script with the logic to build the doc
309309

310310
You can use the `--` notation to [pass command line arguments to npm commands](https://dev.to/felipperegazio/handling-command-line-arguments-in-npm-scripts-2ean). However, if you're using Powershell and want to pass command line arguments then you should either use a double `-- --` notation or single quotes like `'--'`.
311311

312-
Fore more info see [PowerShell, NPM Scripts, and Silently Dropped Arguments](https://www.lloydatkinson.net/posts/2022/powershell-npm-scripts-and-silently-dropped-arguments/).
312+
Fore more info see:
313+
314+
- [PowerShell, NPM Scripts, and Silently Dropped Arguments](https://www.lloydatkinson.net/posts/2022/powershell-npm-scripts-and-silently-dropped-arguments/).
315+
- [[BUG] Arguments are not correctly passed from CLI to npm script (npm 7, Windows, Powershell) #3136](https://github.com/npm/cli/issues/3136#issuecomment-948544220)
313316

314317
## Bonus: Visual Studio Code integration
315318

0 commit comments

Comments
 (0)