Test git hook fix
This commit is contained in:
0
scripts/check-file-organization.sh
Normal file → Executable file
0
scripts/check-file-organization.sh
Normal file → Executable file
2
scripts/git-pre-commit-hook.sh
Normal file → Executable file
2
scripts/git-pre-commit-hook.sh
Normal file → Executable file
@@ -54,7 +54,7 @@ done
|
||||
|
||||
# Check for forbidden directories at root
|
||||
for dir in "${ROOT_FORBIDDEN_DIRS[@]}"; do
|
||||
if [[ -d "$dir" ]]; then
|
||||
if [[ -d "$dir" && "$dir" != "." && "$dir" != ".." ]]; then
|
||||
echo "❌ ERROR: Found directory '$dir' at root level"
|
||||
echo "📁 Suggested location:"
|
||||
|
||||
|
||||
0
scripts/move-to-right-folder.sh
Normal file → Executable file
0
scripts/move-to-right-folder.sh
Normal file → Executable file
Reference in New Issue
Block a user