Skip to content

Commit 9e73338

Browse files
committed
fix: warn on non-default npm-version
1 parent 1814b45 commit 9e73338

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

workspaces/config/lib/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -595,8 +595,7 @@ class Config {
595595
}
596596
}
597597
}
598-
// Some defaults like npm-version are not user-definable and thus don't have definitions
599-
if (where !== 'default') {
598+
if (where !== 'default' || key === 'npm-version') {
600599
this.checkUnknown(where, key)
601600
}
602601
conf.data[k] = v

0 commit comments

Comments
 (0)