From: Colin P. Mccabe Date: Wed, 8 Aug 2018 18:00:29 +0000 (-0700) Subject: move_to_hierarchy.rb: fix typo X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0403f0d23c0356e51607b980c81803f60b15e8b;p=cmccabe-bin move_to_hierarchy.rb: fix typo --- diff --git a/move_to_hierarchy.rb b/move_to_hierarchy.rb index 5ae3b51..b6fa02c 100755 --- a/move_to_hierarchy.rb +++ b/move_to_hierarchy.rb @@ -87,7 +87,7 @@ num_files = 0 Dir.glob("*.#{$opts.extension}").sort.each do |f| num_files = num_files + 1 end -if (num_files == 0): +if (num_files == 0) then raise "No files found in the current working directory with extension " + $opts.extension end