We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0df17b commit 50b73d1Copy full SHA for 50b73d1
git/gitauth.js
@@ -34,7 +34,7 @@ window.onload = async () => {
34
treeLoc = getStorage('tree') ? getStorage('tree').split(',') : ['', '', ''];
35
36
// if repo dosen't have a branch (legacy treeLoc)
37
- if (!treeLoc[1].includes(':')) {
+ if (treeLoc[1] && !treeLoc[1].includes(':')) {
38
39
// add default branch to repo
40
treeLoc[1] += ':main';
0 commit comments