diff options
author | isaacs <i@izs.me> | 2020-08-01 02:57:12 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2020-08-04 11:03:34 +0300 |
commit | 53a888e64a0a912b086b26e2d1bcd5e52ae0b970 (patch) | |
tree | 854be0ad3a5a7d967c7eea2bb3c3564650ab97fc | |
parent | 4309661dd5b32a694bf5cefff99da62072055b4b (diff) |
update: depth defaults to 0 now, not Infinity
-rw-r--r-- | lib/update.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/update.js b/lib/update.js index 16b51d418..c86ca7d85 100644 --- a/lib/update.js +++ b/lib/update.js @@ -27,7 +27,7 @@ const update = async args => { ? global : npm.prefix - if (npm.flatOptions.depth !== Infinity) { + if (npm.flatOptions.depth) { log.warn('update', 'The --depth option no longer has any effect. See RFC0019.\n' + 'https://github.com/npm/rfcs/blob/latest/accepted/0019-remove-update-depth-option.md') } |