diff options
| author | Joel Challis | 2025-02-08 13:17:35 +0100 |
|---|---|---|
| committer | GitHub | 2025-02-08 13:17:35 +0100 |
| commit | 2699e2f7c826b0288c3dddcd86a97811726cf6a4 (patch) | |
| tree | e2ff5cf2269e3187833b83b73ccf5f11eab1bb9d /lib/python/qmk/cli/format | |
| parent | fa98117a3e10afed347f16b2614e4e8a9e26cd32 (diff) | |
Avoid WindowsPath errors for 'qmk format-text' (#24905)
Diffstat (limited to 'lib/python/qmk/cli/format')
| -rw-r--r-- | lib/python/qmk/cli/format/text.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/format/text.py b/lib/python/qmk/cli/format/text.py index 6dd4511896..344631081b 100644 --- a/lib/python/qmk/cli/format/text.py +++ b/lib/python/qmk/cli/format/text.py @@ -18,7 +18,7 @@ def _get_chunks(it, size): def dos2unix_run(files): """Spawn multiple dos2unix subprocess avoiding too long commands on formatting everything """ - for chunk in _get_chunks(files, 10): + for chunk in _get_chunks([normpath(file).as_posix() for file in files], 10): dos2unix = cli.run(['dos2unix', *chunk]) if dos2unix.returncode: |