Skip to content
This repository was archived by the owner on Jul 22, 2020. It is now read-only.

Commit 57576cf

Browse files
committed
validate FUZZIT_API_KEY is set
1 parent 1526651 commit 57576cf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ci/fuzzit.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ if [ -z ${1+x} ]; then
1010
exit 1
1111
fi
1212

13+
if [ -z "${FUZZIT_API_KEY}" ]; then
14+
echo "Please set env variable FUZZIT_API_KEY to api key for your project"
15+
exit 1
16+
fi
17+
1318
## Install go-fuzz
1419
go get -u github.com/dvyukov/go-fuzz/go-fuzz github.com/dvyukov/go-fuzz/go-fuzz-build
1520

0 commit comments

Comments
 (0)