mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Merge from vscode 3d67364fbfcf676d93be64f949e9b33e7f1b969e (#5028)
This commit is contained in:
@@ -526,7 +526,7 @@ export class ElectronWindow extends Disposable {
|
||||
const resource = URI.revive(p.fileUri);
|
||||
let input: IResourceInput | IUntitledResourceInput;
|
||||
if (isNew) {
|
||||
input = { filePath: resource.fsPath, options: { pinned: true } };
|
||||
input = { filePath: resource!.fsPath, options: { pinned: true } };
|
||||
} else {
|
||||
input = { resource, options: { pinned: true } };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user