bin/cucumber-chef in cucumber-chef-2.0.3 vs bin/cucumber-chef in cucumber-chef-2.0.4
- old
+ new
@@ -51,15 +51,15 @@
def load_config
chef_repo = (Cucumber::Chef.locate_parent(".chef") rescue nil)
if ( !chef_repo || ( !File.exists?(chef_repo) || !File.directory?(chef_repo) ) )
- fatal("Doesn't look like your inside a chef-repo! Please relocate to one and execute your command again!")
+ fatal("It does not look like you are inside a chef-repo! Please relocate to one and execute your command again!")
exit(255)
end
$logger = Cucumber::Chef::Logger.new
- $logger.level = (Cucumber::Chef.is_rc? ? Cucumber::Chef::Logger::DEBUG : Cucumber::Chef::Logger::INFO)
+ Cucumber::Chef.is_rc? and ($logger.level = Cucumber::Chef::Logger::DEBUG)
message = "cucumber-chef v#{Cucumber::Chef::VERSION}"
puts(set_color(message, :green, true))
$logger.info { "================================================================================" }