Skip to content

Commit 5d07635

Browse files
larsgwaeschright
authored andcommitted
1 parent a5c9e6f commit 5d07635

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

doc/cli/npm-prefix.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ npm-prefix(1) -- Display prefix
88
## DESCRIPTION
99

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

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

0 commit comments

Comments
 (0)