diff --git a/Library/Homebrew/utils/github.rb b/Library/Homebrew/utils/github.rb index 80423cb4ff..5015686b57 100644 --- a/Library/Homebrew/utils/github.rb +++ b/Library/Homebrew/utils/github.rb @@ -482,7 +482,7 @@ module GitHub changed_files += additional_files if additional_files.present? 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 else fork_message = "try to fork repository with GitHub API" \