Fix Homebrew style issue
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
e967fffdfb
commit
370ef0ac1e
@ -482,7 +482,7 @@ module GitHub
|
|||||||
changed_files += additional_files if additional_files.present?
|
changed_files += additional_files if additional_files.present?
|
||||||
|
|
||||||
if args.dry_run? || (args.write? && !args.commit?)
|
if args.dry_run? || (args.write? && !args.commit?)
|
||||||
remote_url = if args.no_fork?
|
remote_url = if args.no_fork?
|
||||||
Utils.popen_read("git", "remote", "get-url", "--push", "origin").chomp
|
Utils.popen_read("git", "remote", "get-url", "--push", "origin").chomp
|
||||||
else
|
else
|
||||||
fork_message = "try to fork repository with GitHub API" \
|
fork_message = "try to fork repository with GitHub API" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user