Skip to content

Commit

Permalink
fix: git onAuth incorrect calling context
Browse files Browse the repository at this point in the history
  • Loading branch information
NGPixel committed Sep 30, 2024
1 parent dac0e22 commit 13d1dfb
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src-electron/git.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@ export default {
dir,
url,
remote: 'origin',
onAuth: this.onAuth
onAuth: (url) => {
return this.onAuth(url)
}
})
this.conf.currentRemote = 'origin'
if (upstreamUrl) {
Expand Down Expand Up @@ -169,7 +171,10 @@ export default {
fs,
http,
dir,
remote
remote,
onAuth: (url) => {
return this.onAuth(url)
}
})
},
/**
Expand Down

0 comments on commit 13d1dfb

Please sign in to comment.