Skip to content
1 change: 1 addition & 0 deletions lib/commands/link.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ class Link extends ArboristWorkspaceCmd {
// npm link should not save=true by default unless you're
// using any of --save-dev or other types
const save =
!Boolean(this.npm.config.argv[3] === '--no-save') &&
Comment thread
Santoshraj2 marked this conversation as resolved.
Outdated
Boolean(
this.npm.config.find('save') !== 'default' ||
this.npm.config.get('save-optional') ||
Expand Down