update-tabnine: fail more informatively
Alan Pearce alan@alanpearce.eu
Tue, 06 Oct 2020 16:28:35 +0200
1 files changed, 3 insertions(+), 1 deletions(-)
jump to
M update-tabnine.sh → 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