Skip to content

Commit

Permalink
Additional user prompt
Browse files Browse the repository at this point in the history
Request for user to read diffing info before proceeding.
  • Loading branch information
rickmonro committed Nov 28, 2017
1 parent accfd0f commit c8a7e48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/pdk/module/convert.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def self.invoke(options)
return if options[:noop]

unless options[:force]
PDK.logger.info _('Please review the changes above before continuing.')
continue = PDK::CLI::Util.prompt_for_yes(_('Do you want to continue and make these changes to your module?'))
return unless continue
end
Expand Down

0 comments on commit c8a7e48

Please sign in to comment.