smoke - use workbench.action.clearEditorHistoryWithoutConfirm consistently (#265146)

This commit is contained in:
Benjamin Pasero
2025-09-05 13:15:02 +02:00
committed by GitHub
parent 9ec3bb84c9
commit e910fd5e1d
+1 -6
View File
@@ -7,7 +7,6 @@ import { Editors } from './editors';
import { Code } from './code';
import { QuickInput } from './quickinput';
import { basename, isAbsolute } from 'path';
import { Quality } from './application';
enum QuickAccessKind {
Files = 1,
@@ -23,11 +22,7 @@ export class QuickAccess {
// make sure the file quick access is not "polluted"
// with entries from the editor history when opening
if (this.code.quality !== Quality.Stable) {
await this.runCommand('workbench.action.clearEditorHistoryWithoutConfirm');
} else {
await this.runCommand('workbench.action.clearEditorHistory');
}
await this.runCommand('workbench.action.clearEditorHistoryWithoutConfirm');
const PollingStrategy = {
Stop: true,