Skip to content

Commit e9d973b

Browse files
chore: CG-10545 remove codebase.commit warning
1 parent 58e03cd commit e9d973b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/codegen/runner/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Codegen Runner
2-
A codegen module to run codemods against a Codebase graph with a managed lifecycle.
2+
A module to run functions with managed state + lifecycle.
33

44
### Dependencies
55
- [codegen.sdk](https://github.com/codegen-sh/codegen-sdk/tree/develop/src/codegen/sdk)

src/codegen/sdk/core/codebase.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -675,8 +675,6 @@ def commit(self, sync_graph: bool = True) -> None:
675675
Returns:
676676
None
677677
"""
678-
if not self.G.config.feature_flags.debug:
679-
self.log("Warning: using a method that may break codemod execution. This is unnessecary in most cases. You should use this only if you are certian it's nessecary")
680678
self.G.commit_transactions(sync_graph=sync_graph and self.G.config.feature_flags.sync_enabled)
681679

682680
@noapidoc

0 commit comments

Comments
 (0)