We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bbf852d + 7878da6 commit 0b05d40Copy full SHA for 0b05d40
codeflash/code_utils/formatter.py
@@ -22,7 +22,7 @@ def format_code(formatter_cmds: list[str], path: Path) -> str:
22
if formatter_name == "disabled":
23
return path.read_text(encoding="utf8")
24
file_token = "$file" # noqa: S105
25
- for command in set(formatter_cmds):
+ for command in formatter_cmds:
26
formatter_cmd_list = shlex.split(command, posix=os.name != "nt")
27
formatter_cmd_list = [path.as_posix() if chunk == file_token else chunk for chunk in formatter_cmd_list]
28
try:
0 commit comments