Skip to content

Commit 54327e5

Browse files
committed
update some class, remove some class
1 parent d9ceedf commit 54327e5

File tree

5 files changed

+281
-462
lines changed

5 files changed

+281
-462
lines changed

src/Cli.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public static function renderColor($text)
148148
}
149149

150150
// if don't support output color text, clear color tag.
151-
if (!EnvHelper::isSupportColor()) {
151+
if (!SysEnv::isSupportColor()) {
152152
return static::clearColor($text);
153153
}
154154

@@ -254,7 +254,7 @@ public static function stderr($message, $nl = true, $quit = -200)
254254
*/
255255
public static function isSupportColor()
256256
{
257-
return EnvHelper::isSupportColor();
257+
return SysEnv::isSupportColor();
258258
}
259259

260260
/**

0 commit comments

Comments
 (0)