Fix undefined variable bug in mikunyan-json

This commit is contained in:
Ishotihadus
2017-12-27 17:31:13 +09:00
parent 7bb8f0a0a4
commit 0e5dafa424
+1 -1
View File
@@ -39,7 +39,7 @@ while i < ARGV.count
i += 1
end
if option[:pretty] && option[:yaml]
if opts[:pretty] && opts[:yaml]
warn("Option --pretty is ignored if --yaml is specified.")
end