Merge pull request #129 from arduino-man/main

Alphabetically sort patterns list
This commit is contained in:
Daniel Miessler 2024-02-23 13:33:04 -08:00 committed by GitHub
commit 25de07504c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -78,7 +78,7 @@ def main():
standalone = Standalone(args, args.pattern) standalone = Standalone(args, args.pattern)
if args.list: if args.list:
try: try:
direct = os.listdir(config_patterns_directory) direct = sorted(os.listdir(config_patterns_directory))
for d in direct: for d in direct:
print(d) print(d)
sys.exit() sys.exit()