feat: support fresh projects that are part of a workspace (#2716)

Also a performance improvement & bug fix in the tailwind plugin.

---------

Co-authored-by: Marvin Hagemeister <marvin@deno.com>
This commit is contained in:
Luca Casonato
2024-10-17 17:08:24 +02:00
committed by GitHub
co-authored by Marvin Hagemeister
parent bf43a0e90c
commit 407987589f
12 changed files with 249 additions and 874 deletions
+2 -2
View File
@@ -363,10 +363,10 @@ export function getStdOutput(
out: Deno.CommandOutput,
): { stdout: string; stderr: string } {
const decoder = new TextDecoder();
const stdout = colors.stripColor(decoder.decode(out.stdout));
const stdout = colors.stripAnsiCode(decoder.decode(out.stdout));
const decoderErr = new TextDecoder();
const stderr = colors.stripColor(decoderErr.decode(out.stderr));
const stderr = colors.stripAnsiCode(decoderErr.decode(out.stderr));
return { stdout, stderr };
}