From 25fd49314580c4e0a253f2849bfeb7d5d88fde92 Mon Sep 17 00:00:00 2001 From: Vitalii Elenhaupt Date: Thu, 14 May 2020 11:43:13 +0300 Subject: [PATCH] Fix compatiblity with crystal nightly --- src/ameba/cli/cmd.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ameba/cli/cmd.cr b/src/ameba/cli/cmd.cr index c27bb8dc..42778da2 100644 --- a/src/ameba/cli/cmd.cr +++ b/src/ameba/cli/cmd.cr @@ -56,7 +56,7 @@ module Ameba::Cli parser.on("-c", "--config PATH", "Specify a configuration file") do |path| - opts.config = path + opts.config = path unless opts.config.empty? end parser.on("-f", "--format FORMATTER",