Skip to content

Commit e910fd5

Browse files
authored
smoke - use workbench.action.clearEditorHistoryWithoutConfirm consistently (#265146)
1 parent 9ec3bb8 commit e910fd5

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

test/automation/src/quickaccess.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ 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';
1110

1211
enum QuickAccessKind {
1312
Files = 1,
@@ -23,11 +22,7 @@ export class QuickAccess {
2322

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

3227
const PollingStrategy = {
3328
Stop: true,

0 commit comments

Comments
 (0)