Skip to content

Commit

Permalink
doc: fix npm-prefix description (#116)
Browse files Browse the repository at this point in the history
PR-URL: #116
Fixes: https://npm.community/t/4054
Credit: @larsgw 
Reviewed-By: @aeschright
  • Loading branch information
larsgw authored and aeschright committed Jan 9, 2019
1 parent a5c9e6f commit 5d07635
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/cli/npm-prefix.md
Expand Up @@ -8,7 +8,8 @@ npm-prefix(1) -- Display prefix
## DESCRIPTION

Print the local prefix to standard out. This is the closest parent directory
to contain a package.json file unless `-g` is also specified.
to contain a `package.json` file or `node_modules` directory, unless `-g` is
also specified.

If `-g` is specified, this will be the value of the global prefix. See
`npm-config(7)` for more detail.
Expand Down

0 comments on commit 5d07635

Please sign in to comment.