From 21e2678dd3927052f74cb5fc53678db5fbb89a9d Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 6 Oct 2020 16:28:35 +0200 Subject: update-tabnine: fail more informatively --- update-tabnine.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/update-tabnine.sh b/update-tabnine.sh index 19fe45df..bd6a0721 100755 --- a/update-tabnine.sh +++ b/update-tabnine.sh @@ -1,7 +1,9 @@ #!/bin/sh +set -euo pipefail + function prefetch_target () { - nix-prefetch-url --type sha256 https://update.tabnine.com/$2/$1/TabNine 2> /dev/null + nix-prefetch-url --type sha256 https://update.tabnine.com/$2/$1/TabNine } if [ -z "$1" ]; then -- cgit 1.4.1