Hello, I made a build system for typescript using deno. I use file_regex to capture errors, but I can’t get the message content because it appears before file, line, col. Here is my build system:
{
"cmd": ["deno", "run", "-A", "$file"],
"env": { "NO_COLOR": "1" },
"selector": "source.ts",
"file_regex": "at file:///(...*?):([0-9]+):([0-9]+)"
}
The deno’s error message may look like this:
error: TS2349 [ERROR]: This expression is not callable.
Type 'typeof import("https://deno.land/std/uuid/v4")' has no call signatures.
console.log(v4());
~~
at file:///X:/a.ts:3:13
How to capture the message before location correctly?