You've already forked go-template-container-webserver
fix(update_child_repos.sh): add file existence check for file processing.
All checks were successful
Update Child Repos / update (push) Successful in 11s
All checks were successful
Update Child Repos / update (push) Successful in 11s
- if file does not exist do NOT continue (hence process this file) - three way merging still works as before
This commit is contained in:
@@ -88,7 +88,7 @@ while IFS= read -r clone_url; do
|
|||||||
conflicted_files=()
|
conflicted_files=()
|
||||||
|
|
||||||
for file in ${FILES_TO_UPDATE}; do
|
for file in ${FILES_TO_UPDATE}; do
|
||||||
if ! is_file_changed "${file}"; then
|
if ! is_file_changed "${file}" && [ -f "${file}" ]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user