Browse Source

May as well sort.

pull/23310/head
Nick Brassel 1 month ago
parent
commit
14c6cb1774
Failed to extract signature
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/python/qmk/cli/generate/compilation_database.py

+ 1
- 1
lib/python/qmk/cli/generate/compilation_database.py View File

@ -59,7 +59,7 @@ def cpu_defines(binary: str, compiler_args: str) -> List[str]:
define_args.append(f'-D{line_args[1]}={line_args[2]}')
elif len(line_args) == 2 and line_args[0] == '#define':
define_args.append(f'-D{line_args[1]}')
return list(set(define_args))
return list(sorted(set(define_args)))
return []


Loading…
Cancel
Save