Skip to content

Commit c872bd6

Browse files
committed
clean logs
1 parent 2c2c7e4 commit c872bd6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/extension/outline.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ class OutlineTree {
395395
this.attempts++;
396396
// Try again in 300ms
397397
setTimeout(() => this.updateSymbols(), 300);
398-
console.log(`Outline-map: Failed to get symbols of ${this.textDocument.uri.toString()}. Attempt ${this.attempts} of ${this.MAX_ATTEMPTS}.`);
398+
config.debug() && console.log(`Outline-map: Failed to get symbols of ${this.textDocument.uri.toString()}. Attempt ${this.attempts} of ${this.MAX_ATTEMPTS}.`);
399399
}
400400
else {
401401
throw new Error(`Outline-map: Failed to get symbols of ${this.textDocument.uri.toString()}.`);

src/webview/components/inputArea.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ export class InputArea extends HTMLElement {
160160
else {
161161
this.clear(Mode.Nav);
162162
}
163-
console.log(this._mode);
164163
}
165164

166165

0 commit comments

Comments
 (0)