Skip to content

Commit 373f208

Browse files
committed
Fix tf-lock
1 parent 5b3036f commit 373f208

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/tf-lock.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ fi
1313

1414
echo "Running $(basename "${0}") pre-commit checks..."
1515
for FILE in "${@}"; do
16-
pushd "$(basedir "${FILE}")"
16+
pushd "$(dirname "${FILE}")"
1717
tofu providers lock -platform=linux_amd64
1818
popd
1919
done

0 commit comments

Comments
 (0)