Skip to content

Commit

Permalink
Merge pull request sous-chefs#97 from juliandunn/COOK-3880
Browse files Browse the repository at this point in the history
[COOK-3880] Replace "raise" with "fail" to fix Rubocop error causing CI failure
  • Loading branch information
schisamo committed Nov 3, 2013
2 parents ffbde31 + de6ffdf commit ece633c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def action_build

def validate_job_config!
unless ::File.exist?(@new_resource.config)
raise "'#{@new_resource.config}' does not exist or is not a valid Jenkins config file!"
fail "'#{@new_resource.config}' does not exist or is not a valid Jenkins config file!"
end
end

Expand Down

0 comments on commit ece633c

Please sign in to comment.