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
{{ message }}
Repository navigation
bad error message if cwd points to non-existing directory #398
functionisDirectoryAvailable(directoryPath: string): Error|null{try{fs.accessSync(directoryPath,fs.constants.F_OK);returnnull;// Directory exists}catch(error){returnerror;// Return the error object}}
to #401 and have a "combined" PR for these issues (this would also go to mibase and be called directly after checking the debugger - as the ChildProcess.spawn is used in every case and that takes the cwd.
...hm but the ssh one - did I miss that case when checking for the debugger and should extra handle that for both checks?
Activity
WebFreak001 commentedon May 23, 2023
the simplest option would just be changing the error message to also include a mention about cwd
GitMensch commentedon Jun 6, 2023
Would you mind if I add a check using
to #401 and have a "combined" PR for these issues (this would also go to mibase and be called directly after checking the debugger - as the
ChildProcess.spawnis used in every case and that takes the cwd....hm but the ssh one - did I miss that case when checking for the debugger and should extra handle that for both checks?