Browse Source

fix: chg: [gogocarto] apply healthy recommendation !minor

odoo_fix_webhook_url
Valentin Lab 2 years ago
parent
commit
2c3f63da59
  1. 2
      gogocarto/lib/common

2
gogocarto/lib/common

@ -32,7 +32,7 @@ gogocarto:init() {
cd "${GOGOCARTO_CODE}" || return 1 cd "${GOGOCARTO_CODE}" || return 1
if [ -d "$PWD"/.git ]; then if [ -d "$PWD"/.git ]; then
rm -rf "$PWD"/* "$PWD"/{.version,.env} || return 1
rm -rf "${PWD:?}"/* "$PWD"/{.version,.env} || return 1
else else
err "Can't find the '.git' directory in ${GOGOCARTO_CODE}." err "Can't find the '.git' directory in ${GOGOCARTO_CODE}."
return 1 return 1

Loading…
Cancel
Save