Skip to content

Commit

Permalink
perform exact match
Browse files Browse the repository at this point in the history
Perform an exact match instead of relying on endswith. This should
fix same-named recursive repos within the project.

Closes idaholab#29097
  • Loading branch information
milljm committed Nov 19, 2024
1 parent 37b999b commit 57593b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/MooseDocs/extensions/gitutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def createToken(self, parent, info, page, settings):

status = mooseutils.git_submodule_info(check_dir, '--recursive')
for repo, ginfo in status.items():
if repo.endswith(name):
if repo == name:
url = settings['url']
if url is None:
core.Word(parent, content=ginfo[1])
Expand Down

0 comments on commit 57593b7

Please sign in to comment.