Commit 014ac6c Ben Wildeman
committed
1 parent 3b86401 commit 014ac6c Copy full SHA for 014ac6c
File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Tabulous Change Log
2
2
3
+ ## 1.0.2
4
+ * Fixed bug where it's not possible to create terminal without workspace, for real this time
5
+
3
6
## 1.0.1
4
7
* Fixed bug where it's not possible to create terminal without workspace
5
8
Original file line number Diff line number Diff line change @@ -61,7 +61,8 @@ export class StatusBarTerminal {
61
61
62
62
private resolveDir ( path ?: string ) {
63
63
const { workspaceFile, workspaceFolders } = workspace ;
64
- const workspaceFileDir = dirname ( workspaceFile . fsPath ) ;
64
+ // There'll definitely be a workspace file if there's more than one workspace folder
65
+ const workspaceFileDir = workspaceFile && dirname ( workspaceFile . fsPath ) ;
65
66
66
67
if ( path ) {
67
68
let cwd : string ;
You can’t perform that action at this time.
0 commit comments