Commit de3f9966 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'docs-lint-script' into 'master'

Remove scan of /app in docs script

See merge request gitlab-org/gitlab!18428
parents 789dd8a2 7b02c1ee
...@@ -24,12 +24,12 @@ then ...@@ -24,12 +24,12 @@ then
fi fi
# Make sure no files in doc/ are executable # Make sure no files in doc/ are executable
EXEC_PERM_COUNT=$(find doc/ app/ -type f -perm 755 | wc -l) EXEC_PERM_COUNT=$(find doc/ -type f -perm 755 | wc -l)
echo '=> Checking for executable permissions...' echo '=> Checking for executable permissions...'
if [ "${EXEC_PERM_COUNT}" -ne 0 ] if [ "${EXEC_PERM_COUNT}" -ne 0 ]
then then
echo '✖ ERROR: Executable permissions should not be used in documentation! Use `chmod 644` to the files in question:' >&2 echo '✖ ERROR: Executable permissions should not be used in documentation! Use `chmod 644` to the files in question:' >&2
find doc/ app/ -type f -perm 755 find doc/ -type f -perm 755
exit 1 exit 1
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment