mirror of
				https://github.com/avatao-content/test-tutorial-framework
				synced 2025-11-04 05:12:54 +00:00 
			
		
		
		
	Fix remote ask logic broken by refactor streak
This commit is contained in:
		@@ -75,7 +75,7 @@ check_dependencies() {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
clone_required_repos_ask_ssh_or_https() {
 | 
					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 || :
 | 
					        read -p "Repos are pulled over SSH by default. Should I use HTTPS instead? [y/N]" -r -t 5 || :
 | 
				
			||||||
        echo
 | 
					        echo
 | 
				
			||||||
        if [[ ${REPLY} =~ ^(y|Y|yes|Yes|YES)$ ]]; then
 | 
					        if [[ ${REPLY} =~ ^(y|Y|yes|Yes|YES)$ ]]; then
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user