Skip to content

Commit

Permalink
CLI: Fix PR default target branch
Browse files Browse the repository at this point in the history
Thanks to previous commit, this commit fixes voxpupuli#207 and now honors the
default repo branch.
  • Loading branch information
neomilium committed Apr 23, 2021
1 parent cc6cc6f commit b5cb6ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modulesync/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
Expand Down

0 comments on commit b5cb6ec

Please sign in to comment.