refactor: catch doesn't need to have a param (no-changelog) (#5614)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-03-03 18:18:49 +01:00
committed by GitHub
parent 9420b0fdf8
commit 4e244937c9
20 changed files with 59 additions and 59 deletions

View File

@@ -32,7 +32,7 @@ export function bracketAccessCompletions(context: CompletionContext): Completion
try {
resolved = resolveParameter(`={{ ${base} }}`);
} catch (_) {
} catch {
return null;
}

View File

@@ -44,7 +44,7 @@ export function datatypeCompletions(context: CompletionContext): CompletionResul
try {
resolved = resolveParameter(`={{ ${base} }}`);
} catch (_) {
} catch {
return null;
}
@@ -52,7 +52,7 @@ export function datatypeCompletions(context: CompletionContext): CompletionResul
try {
options = datatypeOptions(resolved, base).map(stripExcessParens(context));
} catch (_) {
} catch {
return null;
}
}