diff options
author | Alan Pearce | 2020-10-06 16:28:35 +0200 |
---|---|---|
committer | Alan Pearce | 2020-10-06 16:32:15 +0200 |
commit | 21e2678dd3927052f74cb5fc53678db5fbb89a9d (patch) | |
tree | f23f28918b049db6e1d70923e731b0d94292bb94 | |
parent | 42481db98949754071e71756dd4ce3413853914a (diff) | |
download | nixfiles-21e2678dd3927052f74cb5fc53678db5fbb89a9d.tar.lz nixfiles-21e2678dd3927052f74cb5fc53678db5fbb89a9d.tar.zst nixfiles-21e2678dd3927052f74cb5fc53678db5fbb89a9d.zip |
update-tabnine: fail more informatively
-rwxr-xr-x | update-tabnine.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 |