Skip to content

Commit 11d69ee

Browse files
committed
fix: exclude samples and tutorials from lint formatting
1 parent 18c6caa commit 11d69ee

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.kokoro/build.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,10 @@ case ${JOB_TYPE} in
231231
dir=$(dirname "${dir}")
232232
done
233233
if [ -f "${dir}/pom.xml" ] && [ "${dir}" != "." ]; then
234-
changed_modules+=("${dir}")
234+
# Exclude sample and tutorial modules as they are not in the default reactor
235+
if [[ "${dir}" != *"samples"* ]] && [[ "${dir}" != *"tutorials"* ]]; then
236+
changed_modules+=("${dir}")
237+
fi
235238
fi
236239
fi
237240
done <<< "${changed_file_list}"

0 commit comments

Comments
 (0)