Skip to content

Commit b182d7a

Browse files
author
Dave Bartolomeo
committed
Fix PR feedback
1 parent 1da96c5 commit b182d7a

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

extensions/ql-vscode/src/run-queries-shared.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -536,10 +536,7 @@ export async function saveAllInGroup(includeUntitled: boolean): Promise<void> {
536536
}
537537
}
538538
if (dirtyDocumentUris.size > 0) {
539-
console.warn(`${window.tabGroups.all.length} tab groups open`);
540-
console.warn(`${workspace.textDocuments.length} documents open`);
541539
const tabGroup = window.tabGroups.activeTabGroup;
542-
console.warn(`${tabGroup.tabs.length} tabs open in active group`);
543540
for (const tab of tabGroup.tabs) {
544541
const input = tab.input;
545542
// The `input` property can be of an arbitrary type, depending on the underlying tab type. For
@@ -550,13 +547,10 @@ export async function saveAllInGroup(includeUntitled: boolean): Promise<void> {
550547
if (uri instanceof Uri) {
551548
const document = dirtyDocumentUris.get(uri.toString());
552549
if (document !== undefined) {
553-
console.warn(`Saving ${uri.toString()}`);
554550
await document.save();
555551
// Remove the URI from the dirty list so we don't wind up saving the same file twice
556552
// if it's open in multiple editors.
557553
dirtyDocumentUris.delete(uri.toString());
558-
} else {
559-
console.warn(`Can't find ${uri.toString()}`);
560554
}
561555
}
562556
}

0 commit comments

Comments
 (0)