Skip to content

Commit

Permalink
ci: Fix script failing on of single-file plugins
Browse files Browse the repository at this point in the history
Not used in this repo, but best to keep this script in sync across all
plugin repos...
  • Loading branch information
ThiefMaster committed Mar 23, 2024
1 parent b020e8f commit df91251
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/utils/check_manifests.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

def _validate_manifest(plugin_dir: Path):
pkg_dir = plugin_dir / f'indico_{plugin_dir.name}'
pkg_file = plugin_dir / f'indico_{plugin_dir.name}.py'
if not pkg_dir.exists() and pkg_file.exists():
return True
data_dirs = [
sub.name
for sub in pkg_dir.iterdir()
Expand Down

0 comments on commit df91251

Please sign in to comment.