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 0cc079a commit 683e42eCopy full SHA for 683e42e
src/client/datascience/jupyter/jupyterNotebook.ts
@@ -656,7 +656,7 @@ export class JupyterNotebookBase implements INotebook {
656
if (this.launchInfo && this.launchInfo.connectionInfo.localLaunch && !this._workingDirectory) {
657
// See what our working dir is supposed to be
658
const suggested = this.launchInfo.workingDir;
659
- if (suggested && await this.fs.fileExists(suggested)) {
+ if (suggested && await this.fs.directoryExists(suggested)) {
660
// We should use the launch info directory. It trumps the possible dir
661
this._workingDirectory = suggested;
662
return this.changeDirectoryIfPossible(this._workingDirectory);
0 commit comments