Skip to content

Commit 9ddda74

Browse files
committed
Apply diagnostics formatting
1 parent 6261f44 commit 9ddda74

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

flagscale/runner/diagnostics.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,7 @@ def active_run_id_cleanup_action(path: str, run_id: str) -> str:
7676

7777
qpath = shlex.quote(path)
7878
qrun_id = shlex.quote(run_id)
79-
return (
80-
f'if [ -f {qpath} ] && [ \\"\\$(cat {qpath})\\" = {qrun_id} ]; '
81-
f"then rm -f {qpath}; fi"
82-
)
79+
return f'if [ -f {qpath} ] && [ \\"\\$(cat {qpath})\\" = {qrun_id} ]; then rm -f {qpath}; fi'
8380

8481

8582
def active_run_id_cleanup_lines(path: str, run_id: str) -> list[str]:

0 commit comments

Comments
 (0)