An unexpected error occured when running clj-kondo. Please report a bug
to https://github.com/marcomorain/clojure-lint/issues
Error: Illegal argument: line must be non-negative
at Object.t.illegalArgument (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:13:195)
at new g (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:350:768)
at new g (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:350:44)
at new m (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:352:609)
at new m (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:350:44)
at range (/Users/pez/.vscode/extensions/marcomorain.clojure-lint-0.4.0/out/extension.js:59:12)
at toDiagnostic (/Users/pez/.vscode/extensions/marcomorain.clojure-lint-0.4.0/out/extension.js:65:16)
at Array.map (<anonymous>)
at lint (/Users/pez/.vscode/extensions/marcomorain.clojure-lint-0.4.0/out/extension.js:91:55)
at child_process_1.execFile (/Users/pez/.vscode/extensions/marcomorain.clojure-lint-0.4.0/out/extension.js:38:24)
at ChildProcess.exithandler (child_process.js:306:5)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:962:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
Hello, sorry for sloppy error report, I'm in a hurry. Anyway, this text causes the extension to throw an error:
(Don't ask :smile:)
The error: