From 0e5dafa4248ea163a6c197ce8578a6d33272682f Mon Sep 17 00:00:00 2001 From: Ishotihadus Date: Wed, 27 Dec 2017 17:31:13 +0900 Subject: [PATCH] Fix undefined variable bug in mikunyan-json --- exe/mikunyan-json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exe/mikunyan-json b/exe/mikunyan-json index 45241a4..e29715b 100755 --- a/exe/mikunyan-json +++ b/exe/mikunyan-json @@ -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