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.
1 parent a1ecf06 commit e55a543Copy full SHA for e55a543
codeflash/optimization/function_optimizer.py
@@ -1302,11 +1302,13 @@ def process_review(
1302
"coverage_message": coverage_message,
1303
"replay_tests": replay_tests,
1304
"concolic_tests": concolic_tests,
1305
- "root_dir": git_root_dir(),
1306
}
1307
1308
raise_pr = not self.args.no_pr
1309
+ if raise_pr or self.args.staging_review:
1310
+ data["root_dir"] = git_root_dir()
1311
+
1312
if raise_pr and not self.args.staging_review:
1313
data["git_remote"] = self.args.git_remote
1314
check_create_pr(**data)
0 commit comments