Navigation Menu

Skip to content

Commit

Permalink
Add missing ".read"
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 7, 2014
1 parent 20efb4d commit e3ae918
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/droonga-catalog-generate
Expand Up @@ -48,13 +48,13 @@ end
parser.on("--schema=PATH",
"Use schema in JSON at PATH for the current dataset.") do |path|
File.open(path) do |input|
current_dataset[:schema] = JSON.parse(input)
current_dataset[:schema] = JSON.parse(input.read)
end
end
parser.on("--replicas=PATH",
"Use replicas in JSON at PATH for the current dataset.") do |path|
File.open(path) do |input|
current_dataset[:replicas] = JSON.parse(input)
current_dataset[:replicas] = JSON.parse(input.read)
end
end
parser.parse!(ARGV)
Expand Down

0 comments on commit e3ae918

Please sign in to comment.