Dont trace anything when using the run and install commands

This commit is contained in:
MAJigsaw77
2026-06-21 12:49:30 +08:00
committed by Hundrec
parent 5ed1ef404b
commit 6949bd97e4
+2 -2
View File
@@ -2346,7 +2346,7 @@ class Project extends HXProject
*/
public function info(message:String):Void
{
if (!(isDisplay() || isCleanCommand()))
if (!(isDisplay() || isCleanCommand() || isRun() || isInstall()))
{
Sys.println(' INFO '.bold().bg_blue() + " " + message);
}
@@ -2357,7 +2357,7 @@ class Project extends HXProject
*/
public function warn(message:String):Void
{
if (!(isDisplay() || isCleanCommand()))
if (!(isDisplay() || isCleanCommand() || isRun() || isInstall()))
{
Sys.println(' WARNING '.bold().bg_yellow() + " " + message);
}