You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my situation, __dirname points to a non-existing path (the program is packaged into a binary that uses a virtual system that produces a fake __dirname), which leads to an error that says Git could not be found at the expected path: '/usr/bin/git'. This might be a problem with how the application is packaged ...
Setting cwd as __dirname makes non-sense here. Could you please just use an empty string instead? That would easily fix the problem. Thanks!
The text was updated successfully, but these errors were encountered:
I currently encountered a problem using command 'clone'. In:
https://github.com/theia-ide/dugite-extra/blob/f7e9a1ab65ad60370d5dfbb3104b14e2db1c795d/src/command/clone.ts#L79
__dirname
is passed togit()
, which is then set as cwd in:https://github.com/desktop/dugite/blob/8bc74a7bb0defc5830ad8cc5cc59987fcbbc5575/lib/git-process.ts#L161
In my situation,
__dirname
points to a non-existing path (the program is packaged into a binary that uses a virtual system that produces a fake__dirname
), which leads to an error that saysGit could not be found at the expected path: '/usr/bin/git'. This might be a problem with how the application is packaged ...
Setting
cwd
as__dirname
makes non-sense here. Could you please just use an empty string instead? That would easily fix the problem. Thanks!The text was updated successfully, but these errors were encountered: