Skip to content

Commit

Permalink
Default to not publishing scoped packages publicly (#313)
Browse files Browse the repository at this point in the history
Co-authored-by: Mårten Persson <marten.persson@hdsydsvenskan.se>
  • Loading branch information
2 people authored and sindresorhus committed Jan 3, 2019
1 parent e60f8f4 commit 4ffe2a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ module.exports = async (options, pkg) => {
type: 'confirm',
name: 'publishScoped',
when: isScoped(pkg.name) && !options.exists,
message: `This scoped repo ${chalk.bold.magenta(pkg.name)} hasn't been published. Do you want to publish it publicly?`
message: `This scoped repo ${chalk.bold.magenta(pkg.name)} hasn't been published. Do you want to publish it publicly?`,
default: false
}
];

Expand Down

0 comments on commit 4ffe2a7

Please sign in to comment.