Commit b8bc2a2f authored by Nikola Dinev's avatar Nikola Dinev Committed by David Frank
Browse files

Ignore deleted files during cmake-lint

parent 0a3741e7
Pipeline #747149 failed with stages
in 17 minutes and 4 seconds
......@@ -10,7 +10,7 @@ ORANGE='\033[0;33m'
NC='\033[0m' # No Color
files=($(git diff origin/master --name-only | egrep ".+(CMakeLists.txt|\.cmake(\.in)?)$"))
files=($(git diff origin/master --name-only --diff-filter=d | egrep ".+(CMakeLists.txt|\.cmake(\.in)?)$"))
if (( ${#files[@]} )); then
Supports Markdown
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