diff options
author | Hal Henke <halhenke@gmail.com> | 2016-01-14 19:09:09 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2016-01-21 04:08:40 +0300 |
commit | b463e3424b296cfc4bd384fc8bfe0e2329649164 (patch) | |
tree | 7fa46db5c115516d715ded9de2ba92442be41813 | |
parent | 69ac9333506752bf2e5af70b3b3e03c6181de3e7 (diff) |
doc: advise use of `--depth Infinity` instead of `--depth 9999`
PR-URL: https://github.com/npm/npm/pull/11150
Credit: @halhenke
Reviewed-By: @othiym23
-rw-r--r-- | doc/cli/npm-update.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/cli/npm-update.md b/doc/cli/npm-update.md index 72719670d..f79752fae 100644 --- a/doc/cli/npm-update.md +++ b/doc/cli/npm-update.md @@ -22,7 +22,7 @@ or local) will be updated. As of `npm@2.6.1`, the `npm update` will only inspect top-level packages. Prior versions of `npm` would also recursively inspect all dependencies. -To get the old behavior, use `npm --depth 9999 update`, but be warned that +To get the old behavior, use `npm --depth Infinity update`, but be warned that simultaneous asynchronous update of all packages, including `npm` itself and packages that `npm` depends on, often causes problems up to and including the uninstallation of `npm` itself. |