This repository was archived by the owner on Feb 18, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-11
lines changed Expand file tree Collapse file tree 3 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -198,10 +198,9 @@ Options:
198198
199199#### ` npm-shrinkwrap check `
200200
201- Asserts that your ` npm-shrinkwrap.json ` file and node_modules
202- directory are in sync. If any excess modules are in your
203- node_modules folder, ` check ` will return an error and print
204- a list of the excess dependencies that are installed.
201+ Asserts that your ` npm-shrinkwrap.json ` file, ` package.json ` file,
202+ and node_modules directory are in sync. If any inconsistency
203+ is found, an error is returned.
205204
206205Options:
207206 --dirname sets the directory of the npm-shrinkwrap.json
Original file line number Diff line number Diff line change @@ -75,9 +75,6 @@ function main(opts, callback) {
7575 'into node_modules' ) ;
7676 } ) ;
7777 } else if ( command === 'check' ) {
78- // Otherwise, we check to see if any erroneous dependencies are
79- // installed.
80- //
8178 // We set opts.dry to true, which suppresses all side effects in the
8279 // shrinkShrinkwrap routine.
8380 opts . dry = true ;
Original file line number Diff line number Diff line change @@ -36,10 +36,9 @@ Options:
3636
3737## ` {cmd} check `
3838
39- Asserts that your ` npm-shrinkwrap.json ` file and node_modules
40- directory are in sync. If any excess modules are in your
41- node_modules folder, ` check ` will return an error and print
42- a list of the excess dependencies that are installed.
39+ Asserts that your ` npm-shrinkwrap.json ` file, ` package.json ` file,
40+ and node_modules directory are in sync. If any inconsistency
41+ is found, an error is returned.
4342
4443Options:
4544 --dirname sets the directory of the npm-shrinkwrap.json
You can’t perform that action at this time.
0 commit comments