Skip to content

Commit

Permalink
Task fails if directory already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Eksteen committed Jul 16, 2014
1 parent 2b07f29 commit 575c534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ desc "Runs a performance test of different sigma values to tilt_shift"
task :blur_test do
file = File.join(File.dirname(__FILE__), 'spec', 'support', 'imagemagick.png')
dir = File.join(File.dirname(__FILE__), 'test_output')
Dir.mkdir(dir)
FileUtils.mkdir_p(dir)

(5..10).each do |sigma|
print "sigma: #{sigma} "
Expand Down

0 comments on commit 575c534

Please sign in to comment.