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