From b1aa0d23c3b0e3e8f7308afa1738a81e7edc1b14 Mon Sep 17 00:00:00 2001 From: Jeff Hykin Date: Fri, 18 Apr 2025 11:06:48 -0500 Subject: [PATCH 1/2] make sure help message is visible before error exit --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 5556fac1..19d61399 100755 --- a/install.sh +++ b/install.sh @@ -2,6 +2,8 @@ # Copyright 2019 the Deno authors. All rights reserved. MIT license. # TODO(everyone): Keep this script simple and easily auditable. +echo +echo "End Up Stuck? Join our Discord https://discord.gg/deno" set -e if ! command -v unzip >/dev/null && ! command -v 7z >/dev/null; then @@ -111,6 +113,4 @@ if command -v deno >/dev/null; then echo "Run 'deno --help' to get started" else echo "Run '$exe --help' to get started" -fi -echo -echo "Stuck? Join our Discord https://discord.gg/deno" +fi \ No newline at end of file From 772b822b70004e961f112e2f826f96e71cf91c95 Mon Sep 17 00:00:00 2001 From: Jeff Hykin Date: Fri, 18 Apr 2025 11:19:07 -0500 Subject: [PATCH 2/2] - --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 19d61399..06ca3b9d 100755 --- a/install.sh +++ b/install.sh @@ -3,7 +3,7 @@ # TODO(everyone): Keep this script simple and easily auditable. echo -echo "End Up Stuck? Join our Discord https://discord.gg/deno" +echo "Stuck? Join our Discord https://discord.gg/deno" set -e if ! command -v unzip >/dev/null && ! command -v 7z >/dev/null; then