Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
doc: correct number of install phases
Browse files Browse the repository at this point in the history
Credit: @eymengunay
Reviewed-By: @othiym23
PR-URL: #10650
  • Loading branch information
eymengunay authored and othiym23 committed Dec 11, 2015
1 parent a5e8df5 commit 6abd0e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/misc/npm-scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ For example, if your package.json contains this:
then the `scripts/install.js` will be called for the install,
post-install, stages of the lifecycle, and the `scripts/uninstall.js`
would be called when the package is uninstalled. Since
`scripts/install.js` is running for three different phases, it would
`scripts/install.js` is running for two different phases, it would
be wise in this case to look at the `npm_lifecycle_event` environment
variable.

Expand Down

0 comments on commit 6abd0e0

Please sign in to comment.