Skip to content

Commit

Permalink
Merge pull request #252 from unasuke/dry_run
Browse files Browse the repository at this point in the history
Print '(dry-run)' first in dry-run mode
  • Loading branch information
sue445 authored Oct 15, 2018
2 parents 4dfeb06 + 0647d12 commit a5403ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/itamae/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module Itamae
class Runner
class << self
def run(recipe_files, backend_type, options)
Itamae.logger.info "Starting Itamae..."
Itamae.logger.info "Starting Itamae... #{options[:dry_run] ? '(dry-run)' : ''}"

backend = Backend.create(backend_type, options)
runner = self.new(backend, options)
Expand Down

0 comments on commit a5403ae

Please sign in to comment.