Permalink
Browse files

Tidying up

  • Loading branch information...
1 parent 9e49ae3 commit 1b1b30685752da2813314e8a801e75fec3d6073d @jayniz jayniz committed Nov 30, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/stresser-grapher
View
2 bin/stresser-grapher
@@ -23,7 +23,7 @@ EOS
:type => String
end.merge(:csv_file => ARGV.last)
-Trollop::die :output_dir, "must be writeable" unless opts[:output_dir] and File.stat(opts[:output_dir]).writable?
+Trollop::die :output_dir, "must be writeable" unless opts[:output_dir] and File.stat(opts[:output_dir]).writable?
Trollop::die :output_dir, "must be a directory" unless opts[:output_dir] and File.stat(opts[:output_dir]).directory?
Grapher.generate_reports(opts)

0 comments on commit 1b1b306

Please sign in to comment.