From 57404d07f486f6837002087a92f868c436b00a76 Mon Sep 17 00:00:00 2001 From: kei Date: Wed, 10 Apr 2019 03:19:07 +0900 Subject: [PATCH] unless -> if --- lib/dotenv/cli.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dotenv/cli.rb b/lib/dotenv/cli.rb index a6743416..36b36eb5 100644 --- a/lib/dotenv/cli.rb +++ b/lib/dotenv/cli.rb @@ -21,7 +21,7 @@ def run rescue Errno::ENOENT => e abort e.message else - exec(*@argv) unless @argv.empty? + exec(*@argv) if @argv.present? end end