From 13c7656e7f5d4da0da314c591711bbb01f7950c8 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Mon, 27 Mar 2023 15:20:50 -0500 Subject: [PATCH] token check --- csharp/lib/update.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/csharp/lib/update.sh b/csharp/lib/update.sh index f25a62859..7eeea7259 100755 --- a/csharp/lib/update.sh +++ b/csharp/lib/update.sh @@ -1,5 +1,11 @@ #! /bin/bash +if [ $# -ne 1 ] +then + echo "GitHub token required" + exit +fi + if [ ! command -v jq &> /dev/null ] then echo "jq required"