Skip to content

Commit fef55e2

Browse files
bteaMikeMcC399
andauthored
docs: update config --location desc (#659)
* docs: update config `--location` desc * Update docs/cli/config.md Co-authored-by: Mike McCready <[email protected]> --------- Co-authored-by: Mike McCready <[email protected]>
1 parent fe440b3 commit fef55e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/cli/config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Set the configuration in the global config file.
4444

4545
### --location
4646

47-
When set to `project`, the `.npmrc` file at the nearest `package.json` will be used.
47+
When set to `project`, the `.npmrc` file at the nearest `package.json` will be used. If no `.npmrc` file is present in the directory, the setting will be written to a `pnpm-workspace.yaml` file.
4848

4949
When set to `global`, the performance is the same as setting the `--global` option.
5050

0 commit comments

Comments
 (0)