Skip to content

Commit 7e894ca

Browse files
authored
Revert "smoke - use workbench.action.clearEditorHistoryWithoutConfirm consi…"
This reverts commit e910fd5.
1 parent dfc6a2a commit 7e894ca

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/automation/src/quickaccess.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { Editors } from './editors';
77
import { Code } from './code';
88
import { QuickInput } from './quickinput';
99
import { basename, isAbsolute } from 'path';
10+
import { Quality } from './application';
1011

1112
enum QuickAccessKind {
1213
Files = 1,
@@ -22,7 +23,11 @@ export class QuickAccess {
2223

2324
// make sure the file quick access is not "polluted"
2425
// with entries from the editor history when opening
25-
await this.runCommand('workbench.action.clearEditorHistoryWithoutConfirm');
26+
if (this.code.quality !== Quality.Stable) {
27+
await this.runCommand('workbench.action.clearEditorHistoryWithoutConfirm');
28+
} else {
29+
await this.runCommand('workbench.action.clearEditorHistory');
30+
}
2631

2732
const PollingStrategy = {
2833
Stop: true,

0 commit comments

Comments
 (0)