Skip to content

Commit 3d16532

Browse files
committed
Adjust topic-map step
1 parent 87db604 commit 3d16532

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)