Skip to content

Commit

Permalink
修复代码检测
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurunsoft committed Nov 5, 2021
1 parent d9311a0 commit dace8da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HotUpdate/HotUpdateProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ private function closeBuildRuntime(): void
$buildRuntimeHandler = $this->buildRuntimeHandler;
$buildRuntimePipes = $this->buildRuntimePipes;
$status = proc_get_status($buildRuntimeHandler);
if (false !== $status && ($status['running'] ?? false))
if (false !== $status && $status['running'])
{
$writeContent = "n\n";
fwrite($buildRuntimePipes[0], $writeContent);
Expand Down

0 comments on commit dace8da

Please sign in to comment.