Skip to content

Commit 9062260

Browse files
committed
Merge pull request #65 from DeployGate/fix/work_dir_nil
fix bugs
2 parents f973580 + 8b702e1 commit 9062260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/deploygate/commands/deploy/build.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class << self
99
# @return [void]
1010
def run(args, options)
1111
# android/ios build
12-
work_dir = args.first
12+
work_dir = args.empty? ? Dir.pwd : args.first
1313

1414
if DeployGate::Project.ios?(work_dir)
1515
root_path = DeployGate::Xcode::Ios.project_root_path(work_dir)

0 commit comments

Comments
 (0)