From b5cb6ec17396e298a727f169f062671f5a8aac8e Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Fri, 1 Jan 2021 13:52:12 +0100 Subject: [PATCH] CLI: Fix PR default target branch Thanks to previous commit, this commit fixes #207 and now honors the default repo branch. --- lib/modulesync/cli.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modulesync/cli.rb b/lib/modulesync/cli.rb index bd733e67..9a90e52b 100644 --- a/lib/modulesync/cli.rb +++ b/lib/modulesync/cli.rb @@ -104,7 +104,7 @@ class Base < Thor :default => CLI.defaults[:pr_labels] || [] option :pr_target_branch, :desc => 'Target branch for the pull/merge request', - :default => CLI.defaults[:pr_target_branch] || 'master' + :default => CLI.defaults[:pr_target_branch] option :offline, :type => :boolean, :desc => 'Do not run any Git commands. Allows the user to manage Git outside of ModuleSync.',