Skip to content

Commit

Permalink
Fixed error when using -i option.
Browse files Browse the repository at this point in the history
  • Loading branch information
airportyh committed Mar 29, 2011
1 parent b4ed214 commit 1119833
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/indentinator
Expand Up @@ -93,7 +93,7 @@ def write_file(path, text)
end

if @from_stdin
process_file(STDIN, 'Input')
process_input(STDIN.read, 'Input')
else
@files.each do |path|
begin
Expand Down
2 changes: 1 addition & 1 deletion indentinator.gemspec
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = "Indentinator"
s.version = "0.0.4"
s.version = "0.0.5"
s.author = "Toby Ho"
s.email = "airportyh@gmail.com"
s.homepage = "http://tobyho.com"
Expand Down

0 comments on commit 1119833

Please sign in to comment.