fix(update_child_repos.sh): add file existence check for file processing.
Update Child Repos / update (push) Successful in 15s
Update Child Repos / update (push) Successful in 15s
- if file does not exist do NOT continue (hence process this file) - three way merging still works as before
This commit is contained in:
1 parent
24e45d728d
commit
b68b682b55
1 file changed
+1
-1
@@ -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