mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-18 14:59:42 +02:00
Upgrade eslint and fix issues
This commit is contained in:
@@ -9,9 +9,8 @@ export async function tryFormatJson(text: string): Promise<string> {
|
||||
try {
|
||||
const result = await invokeCmd<string>('cmd_format_json', { text });
|
||||
return result;
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
} catch (err) {
|
||||
console.warn("Failed to format JSON", err);
|
||||
console.warn('Failed to format JSON', err);
|
||||
// Nothing
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user