From ba6a02e13b20addc6385ffc4ae791bcb6e1a4d8b Mon Sep 17 00:00:00 2001 From: daimond113 Date: Mon, 3 Feb 2025 15:52:38 +0100 Subject: [PATCH] fix: exit with code 1 from invalid directory bin linkers Fixes #24. --- src/cli/bin_link.luau | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cli/bin_link.luau b/src/cli/bin_link.luau index d4b4ff5..1e087fa 100644 --- a/src/cli/bin_link.luau +++ b/src/cli/bin_link.luau @@ -78,3 +78,4 @@ if project_root ~= nil then end stdio.ewrite(stdio.color("red") .. "binary `{alias}` not found. are you in the right directory?" .. stdio.color("reset") .. "\n") +process.exit(1) \ No newline at end of file