Skip to content

Commit d23c739

Browse files
committed
minor bugfix
1 parent a4b12b4 commit d23c739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

myserver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def optimize_code(file: str, function: str) -> str:
2323
cwd = Path(file).resolve().parent
2424
status = run_codeflash_command(cwd, config, expected_improvement_pct=5)
2525
if status:
26-
"Optimization Successful, file has been edited"
26+
return "Optimization Successful, file has been edited"
2727
else:
2828
return "Codeflash run did not meet expected requirements for testing, reverting file changes."
2929

0 commit comments

Comments
 (0)