mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-11-14 16:07:18 +00:00
Fix delete_repos broken directory changing logic
This commit is contained in:
parent
1507a9338b
commit
f71d94e8dc
@ -56,7 +56,7 @@ handle_exit() {
|
|||||||
logged() { "$@" >> "${LOGFILE}" 2>&1; }
|
logged() { "$@" >> "${LOGFILE}" 2>&1; }
|
||||||
showlog() { echo && echo "Error! Showing logs:" && cat "${LOGFILE}"; }
|
showlog() { echo && echo "Error! Showing logs:" && cat "${LOGFILE}"; }
|
||||||
cleanlog() { rm "${LOGFILE}"; }
|
cleanlog() { rm "${LOGFILE}"; }
|
||||||
delete_repos() { pushd "${HERE}" && rm -rf "${BASEIMAGE_REPO}" "${FRONTEND_REPO}" "${CHALLENGE}" && popd; }
|
delete_repos() { cd "${HERE}" && rm -rf "${BASEIMAGE_REPO}" "${FRONTEND_REPO}" "${CHALLENGE}"; }
|
||||||
|
|
||||||
check_dependencies() {
|
check_dependencies() {
|
||||||
local dependencies=("git" "docker" "yarn" "ng")
|
local dependencies=("git" "docker" "yarn" "ng")
|
||||||
|
Loading…
Reference in New Issue
Block a user