fix: reset leftover variables in cmd_list function
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
parent
f173246581
commit
40503ef5b7
1 changed files with 2 additions and 0 deletions
|
|
@ -599,6 +599,8 @@ cmd_list() {
|
|||
[[ -e "${mf}" ]] || continue
|
||||
found=1
|
||||
# shellcheck disable=SC1090
|
||||
source /dev/null # reset any leftover variables
|
||||
unset APP_REPO_URL APP_REPO_BRANCH APP_REPO_DIR 2>/dev/null || true
|
||||
source "${mf}"
|
||||
local domains="${APP_DOMAINS:-${APP_DOMAIN}}"
|
||||
local repo_info="${APP_REPO_URL:-}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue