-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
bugSomething isn't workingSomething isn't workingpriority-2Affects more than a few users but doesn't prevent core functionsAffects more than a few users but doesn't prevent core functions
Description
Describe the bug
gh issue create -w does not open my browser for some repositories. Instead, it opens a Finder window for the current directory. It does work for this repo, though. (Indeed, I got here using gh issue create -w -R github.com/cli/cli.)
❯ gh --version
gh version 1.9.1 (2021-04-15)
https://github.com/cli/cli/releases/tag/v1.9.1
Steps to reproduce the behavior
git clone https://github.com/Homebrew/brew.git
cd brew
gh issue create -w
I can also reproduce this with a number of other repos. (e.g. other Homebrew repos, some of my own, LuaJIT, etc)
Instead of opening my browser, this opened a Finder window.
Expected vs actual behavior
I expected my browser to open a page that will allow me to open an issue. Instead, a Finder window for my current directory popped up.
Logs
❯ git clone https://github.com/Homebrew/brew.git
Found existing alias for "git". You should use: "g"
Cloning into 'brew'...
remote: Enumerating objects: 180532, done.
remote: Counting objects: 100% (172/172), done.
remote: Compressing objects: 100% (86/86), done.
remote: Total 180532 (delta 93), reused 144 (delta 80), pack-reused 180360
Receiving objects: 100% (180532/180532), 47.84 MiB | 23.88 MiB/s, done.
Resolving deltas: 100% (133949/133949), done.
❯ cd brew
❯ gh issue create -w
Opening in your browser.
It did not open my browser. (Also, is that an extra space after Opening?)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpriority-2Affects more than a few users but doesn't prevent core functionsAffects more than a few users but doesn't prevent core functions