Skip to content

Commit 0b05d40

Browse files
authored
Merge branch 'main' into fix-formatter
2 parents bbf852d + 7878da6 commit 0b05d40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codeflash/code_utils/formatter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def format_code(formatter_cmds: list[str], path: Path) -> str:
2222
if formatter_name == "disabled":
2323
return path.read_text(encoding="utf8")
2424
file_token = "$file" # noqa: S105
25-
for command in set(formatter_cmds):
25+
for command in formatter_cmds:
2626
formatter_cmd_list = shlex.split(command, posix=os.name != "nt")
2727
formatter_cmd_list = [path.as_posix() if chunk == file_token else chunk for chunk in formatter_cmd_list]
2828
try:

0 commit comments

Comments
 (0)