mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-11-12 19:27:17 +00:00
Fix remote ask logic broken by refactor streak
This commit is contained in:
parent
df285fea58
commit
51cd837e3a
@ -75,7 +75,7 @@ check_dependencies() {
|
||||
}
|
||||
|
||||
clone_required_repos_ask_ssh_or_https() {
|
||||
if [[ "${HTTPS_REMOTES:-0}" == "1" ]]; then
|
||||
if [[ -z "${HTTPS_REMOTES:-}" ]]; then
|
||||
read -p "Repos are pulled over SSH by default. Should I use HTTPS instead? [y/N]" -r -t 5 || :
|
||||
echo
|
||||
if [[ ${REPLY} =~ ^(y|Y|yes|Yes|YES)$ ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user