3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-01-17 19:17:45 +00:00

Updated get-changed-paths.sh

This commit is contained in:
Tonye Jack 2022-11-23 19:26:31 -07:00
parent d127e35180
commit 1c9a614a4f

View file

@ -41,12 +41,7 @@ function get_dirname_max_depth() {
local depth=2
while [ $depth -le "$max_depth" ]; do
echo "${dirs[*]}"
if [[ -n "${dirs[$depth]}" ]]; then
output="$output/${dirs[$depth]}"
else
break
fi
depth=$((depth + 1))
done