You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/SPC/toolchain/ZigToolchain.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -42,10 +42,10 @@ public function initEnv(): void
42
42
43
43
publicfunctionafterInit(): void
44
44
{
45
-
if (!is_dir(Zig::getEnvironment()['PATH'])) {
45
+
if (!Zig::isInstalled()) {
46
46
thrownewEnvironmentException('You are building with zig, but zig is not installed, please install zig first. (You can use `doctor` command to install it)');
0 commit comments