projects
/
cmccabe-bin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5ac1cd8
)
move_to_hierarchy.rb: fix typo
author
Colin P. Mccabe
<colin@cmccabe.xyz>
Wed, 8 Aug 2018 18:00:29 +0000 (11:00 -0700)
committer
Colin P. Mccabe
<colin@cmccabe.xyz>
Wed, 8 Aug 2018 18:00:29 +0000 (11:00 -0700)
move_to_hierarchy.rb
patch
|
blob
|
history
diff --git
a/move_to_hierarchy.rb
b/move_to_hierarchy.rb
index
5ae3b51
..
b6fa02c
100755
(executable)
--- 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