Skip to content

Commit

Permalink
Change to turn off coloring based on flag
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmurach committed May 30, 2018
1 parent 07d0faa commit c00df4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tty/commands/new.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def initialize(app_path, options)
@app_path = relative_path_from(root_path, app_path)
@app_name = name_from_path(app_path)
@options = options
@pastel = Pastel.new
@pastel = Pastel.new(enabled: !options['no-color'])

@target_path = root_path.join(@app_path)
@templater = Templater.new('new', @app_path)
Expand Down

0 comments on commit c00df4f

Please sign in to comment.