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:
parent
d127e35180
commit
1c9a614a4f
1 changed files with 1 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue