Skip to content

Commit 3f78e24

Browse files
committed
fix default working directory persistence issue
1 parent e2ff9f0 commit 3f78e24

File tree

3 files changed

+1
-15
lines changed

3 files changed

+1
-15
lines changed

.vscode/launch.json

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,6 @@
1414
"NODE_ENV": "development"
1515
}
1616
},
17-
{
18-
"name": "Debug without webpack",
19-
"type": "node",
20-
"request": "launch",
21-
"cwd": "${workspaceFolder}",
22-
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
23-
"args" : ["."],
24-
"outputCapture": "std",
25-
"preLaunchTask": "npm: build:no-pack",
26-
"env": {
27-
"NODE_ENV": "development"
28-
}
29-
},
3017
{
3118
"name": "Debug without build",
3219
"type": "node",

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
"watch:assets": "node ./scripts/extract.js && node ./scripts/copyassets.js watch",
1515
"watch": "concurrently \"yarn watch:tsc\" \"yarn watch:assets\" ",
1616
"build": "tsc && yarn bundle:preload && node ./scripts/extract.js && node ./scripts/copyassets.js",
17-
"build:no-pack": "tsc && yarn bundle:preload && node ./scripts/extract.js && node ./scripts/copyassets.js",
1817
"build:all": "yarn clean && yarn build && yarn start",
1918
"bundle:preload": "webpack --config webpack.preload.js",
2019
"extract": "node scripts/extract.js",

src/main/sessionwindow/sessionwindow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ export class SessionWindow implements IDisposable {
512512

513513
this._showProgressView('Creating new session');
514514

515-
const sessionConfig = new SessionConfig();
515+
const sessionConfig = SessionConfig.createLocal();
516516
this._sessionConfig = sessionConfig;
517517
this._wsSettings = new WorkspaceSettings(
518518
sessionConfig.workingDirectory

0 commit comments

Comments
 (0)