Permalink
Browse files

Hide warning when using ssh

  • Loading branch information...
mymindstorm committed Sep 25, 2018
1 parent f5a1348 commit d2afd04ac652bbe95862b5eb0285f615f0a5a5ab
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/build.sh
View
@@ -32,7 +32,7 @@ if ! [[ $CREDS =~ $CREDREGEX ]] ; then
echo -e "\e[7m\033[33mWarning: Missing info in credentials.ts\033[0m"
fi
if ! [[ $REMOTE = *"https://github.com/Authenticator-Extension/Authenticator.git"* ]] ; then
if ! [[ $REMOTE = *"https://github.com/Authenticator-Extension/Authenticator.git"* || $REMOTE = *"git@github.com:Authenticator-Extension/Authenticator.git"* ]] ; then
echo
echo -e "\e[7m\033[33mNotice\033[0m"
echo
@@ -59,4 +59,4 @@ else
cp manifest-$PLATFORM.json $PLATFORM/manifest.json
fi
echo -e "\033[0;32mDone!\033[0m"
echo -e "\033[0;32mDone!\033[0m"

0 comments on commit d2afd04

Please sign in to comment.