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

Update get-changed-paths.sh

This commit is contained in:
Tonye Jack 2022-11-23 19:38:21 -07:00 committed by GitHub
parent 3840bc84e6
commit 3d46931839
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,7 @@ function get_dirname_max_depth() {
local depth="2"
while [ "$depth" -le "$max_depth" ]; do
output="$output/${dirs[$depth]}"
output="$output/${dirs[${depth}]}"
depth=$((depth + 1))
done