move_to_hierarchy.rb: fix typo
authorColin P. Mccabe <colin@cmccabe.xyz>
Wed, 8 Aug 2018 18:00:29 +0000 (11:00 -0700)
committerColin P. Mccabe <colin@cmccabe.xyz>
Wed, 8 Aug 2018 18:00:29 +0000 (11:00 -0700)
move_to_hierarchy.rb

index 5ae3b51..b6fa02c 100755 (executable)
@@ -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