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:
co-authored by
Marvin Hagemeister
parent
bf43a0e90c
commit
407987589f
@@ -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 };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user