Fix lint errors

This commit is contained in:
Gregory Schier committed 2026-03-13 08:12:21 -07:00
1 parent be34dfe74a
commit 7670ab007f
44 files changed
+110 -75

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ export const plugin: PluginDefinition = {
const filtered = JSONPath({ path: args.filter, json: parsed });
return { content: JSON.stringify(filtered, null, 2) };
} catch (err) {
return { content: '', error: `Invalid filter: ${err}` };
return { content: '', error: `Invalid filter: ${err instanceof Error ? err.message : String(err)}` };
}
},
},