diff --git a/.eslintrc.release b/.eslintrc.release index 91ed21d..d7a2ea1 100644 --- a/.eslintrc.release +++ b/.eslintrc.release @@ -9,13 +9,12 @@ "allow": [ "warn", "error", - "debug" ] } ], "multiline-comment-style": [ "error", - "starred-block" + "starred-block", ] } } \ No newline at end of file diff --git a/src/OpenEditorsView.ts b/src/OpenEditorsView.ts index 6cc2977..99306c0 100644 --- a/src/OpenEditorsView.ts +++ b/src/OpenEditorsView.ts @@ -178,12 +178,12 @@ export class OpenEditorsView extends View { callback: tree => { const leaf = this.app.workspace.getLeafById(tree.id); if (!leaf) { - console.debug('Leaf not found with the id ', tree.id); + console.warn('Leaf not found with the id ', tree.id); return; } const parent = leaf?.parent; if (!parent) { - console.debug('Parent of leaf not found!'); + console.warn('Parent of leaf not found!'); return; } leafParent = parent;