diff options
Diffstat (limited to 'lib/utils')
-rw-r--r-- | lib/utils/config/definitions.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/utils/config/definitions.js b/lib/utils/config/definitions.js index a6ecbcd0c..5001efb46 100644 --- a/lib/utils/config/definitions.js +++ b/lib/utils/config/definitions.js @@ -1581,7 +1581,9 @@ define('save-prefix', { \`npm config set save-prefix='~'\` it would be set to \`~1.2.3\` which only allows patch upgrades. `, - flatten, + flatten (key, obj, flatOptions) { + flatOptions.savePrefix = obj['save-exact'] ? '' : obj['save-prefix'] + }, }) define('save-prod', { |