Skip to content

Commit

Permalink
只在错误消息退出
Browse files Browse the repository at this point in the history
  • Loading branch information
lisijie committed May 30, 2018
1 parent b211a16 commit 777c4a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ public function message($message, $code = MSG_ERR)
echo $message . "\n";
} else {
echo Console::ansiFormat("错误提示:", Console::FG_RED) . $message . "\n";
exit(1);
}
exit;
}


Expand Down

0 comments on commit 777c4a1

Please sign in to comment.