From 3cbfeaad2bfb6aa7ab1ec7b674ebe44a0c6efcfa Mon Sep 17 00:00:00 2001 From: Florian Loitsch Date: Sun, 6 Oct 2024 13:02:20 +0200 Subject: [PATCH] Check the commands when asserts are on. --- tools/toit.toit | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/toit.toit b/tools/toit.toit index 255f886ff..3bda32490 100644 --- a/tools/toit.toit +++ b/tools/toit.toit @@ -500,6 +500,10 @@ main args/List: root-command.add system-message.build-command + assert: + // Only run the check in assert mode. + root-command.check + true root-command.run args bin-dir sdk-dir/string? -> string: