From 8b702e1d32c304151a5b772779c34483c9480144 Mon Sep 17 00:00:00 2001 From: henteko Date: Mon, 21 Dec 2015 14:05:41 +0900 Subject: [PATCH] fix bugs --- lib/deploygate/commands/deploy/build.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/deploygate/commands/deploy/build.rb b/lib/deploygate/commands/deploy/build.rb index 7013e92..d7c7fee 100644 --- a/lib/deploygate/commands/deploy/build.rb +++ b/lib/deploygate/commands/deploy/build.rb @@ -9,7 +9,7 @@ class << self # @return [void] def run(args, options) # android/ios build - work_dir = args.first + work_dir = args.empty? ? Dir.pwd : args.first if DeployGate::Project.ios?(work_dir) root_path = DeployGate::Xcode::Ios.project_root_path(work_dir)