Skip to content

Commit c54de37

Browse files
authored
Merge pull request #61272 from aireilly/adjust-adoc-script
Adjust topic-map check
2 parents bd92a13 + 3d16532 commit c54de37

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/check-asciidoctor-build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ check_updated_assemblies () {
3131
# check that assemblies are in a topic_map
3232
for ASSEMBLY in $ALL_ASSEMBLIES; do
3333
# get the page name to search the topic_map
34-
PAGE=$(basename "$ASSEMBLY" .adoc)
34+
# search for files only, not folders
35+
PAGE="File: $(basename "$ASSEMBLY" .adoc)"
3536
# don't validate the assembly if it is not in a topic map
3637
if grep -rq "$PAGE" --include "*.yml" _topic_maps ; then
3738
# validate the assembly

0 commit comments

Comments
 (0)