Skip to content

Commit

Permalink
clean logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrnperl committed Oct 13, 2023
1 parent 2c2c7e4 commit c872bd6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/extension/outline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ class OutlineTree {
this.attempts++;
// Try again in 300ms
setTimeout(() => this.updateSymbols(), 300);
console.log(`Outline-map: Failed to get symbols of ${this.textDocument.uri.toString()}. Attempt ${this.attempts} of ${this.MAX_ATTEMPTS}.`);
config.debug() && console.log(`Outline-map: Failed to get symbols of ${this.textDocument.uri.toString()}. Attempt ${this.attempts} of ${this.MAX_ATTEMPTS}.`);
}
else {
throw new Error(`Outline-map: Failed to get symbols of ${this.textDocument.uri.toString()}.`);
Expand Down
1 change: 0 additions & 1 deletion src/webview/components/inputArea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ export class InputArea extends HTMLElement {
else {
this.clear(Mode.Nav);
}
console.log(this._mode);
}


Expand Down

0 comments on commit c872bd6

Please sign in to comment.