teledemic/vscode-branch-warning

Warning doesn't go away when switching to a different branch

Closed this issue · 3 comments

When I first installed, the warning was always visible, so I figured I needed to restart VSCode to get it to work properly.

After restarting, the warning doesn't show up at all

Here's a screenshot of my VSCode window which is on the main branch, showing my settings.json
Screenshot 2021-11-26 at 12 06 09
ll

Adding "main*" to "branchwarnings.protectedBranches" worked.

The warning showed up when I added main*, but the original problem is still there.
When I swap to a different branch the warning does not go away again
Screenshot 2021-11-26 at 12 08 25

Duplicate of #15