mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-29 05:12:47 -08:00
chore: fix oxlint diagnostics
This commit is contained in:
53 files changed
+801
-390
No files matched your search
@@ -22,7 +22,7 @@ export const ANSI = {
|
||||
export function shouldUseColor() {
|
||||
if (process.env.NO_COLOR !== undefined) return false;
|
||||
if (process.env.FORCE_COLOR && process.env.FORCE_COLOR !== '0') return true;
|
||||
return Boolean(process.stdout.isTTY);
|
||||
return process.stdout.isTTY;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user