From e0403f0d23c0356e51607b980c81803f60b15e8b Mon Sep 17 00:00:00 2001 From: Colin P. Mccabe Date: Wed, 8 Aug 2018 11:00:29 -0700 Subject: [PATCH] move_to_hierarchy.rb: fix typo --- move_to_hierarchy.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 -- 1.6.6.rc1.39.g9a42