mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-13 19:48:37 -05:00
Fix issue where loading unsave sql file open as untitiledEditorInput (#385)
* fix issue where loading unsave sql file open as untitiledEditorInput * add SQL CARBON EDIT comment
This commit is contained in:
committed by
Karl Burtram
parent
1dea81f82f
commit
da75681f83
@@ -366,9 +366,7 @@ export abstract class TextFileService implements ITextFileService {
|
||||
}
|
||||
|
||||
// Hot exit
|
||||
// {{SQL CARBON EDIT}}
|
||||
// const hotExitMode = configuration && configuration.files ? configuration.files.hotExit : HotExitConfiguration.ON_EXIT;
|
||||
const hotExitMode = HotExitConfiguration.OFF;
|
||||
const hotExitMode = configuration && configuration.files ? configuration.files.hotExit : HotExitConfiguration.ON_EXIT;
|
||||
if (hotExitMode === HotExitConfiguration.OFF || hotExitMode === HotExitConfiguration.ON_EXIT_AND_WINDOW_CLOSE) {
|
||||
this.configuredHotExit = hotExitMode;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user