diff options
-rw-r--r-- | .github/workflows/test.yml | 1 | ||||
-rwxr-xr-x | asciidoc.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7e018be..e12083c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -76,6 +76,7 @@ jobs: sudo make install - run: asciidoc --version + - run: asciidoc --filter list test-windows: needs: lint diff --git a/asciidoc.py b/asciidoc.py index e286335..f960e7d 100755 --- a/asciidoc.py +++ b/asciidoc.py @@ -6022,7 +6022,7 @@ class Plugin: """ for d in [os.path.join(d, Plugin.type + 's') for d in config.get_load_dirs()]: if os.path.isdir(d): - for f in os.walk(d).next()[1]: + for f in sorted(filter(os.path.isdir, [os.path.join(d, o) for o in os.listdir(d)])): message.stdout(os.path.join(d, f)) @staticmethod |