fix: made the return be self, given that the instance of the class itself is what is treated as the context manager by default

This commit is contained in:
2026-01-24 14:47:44 -05:00
parent 0d44ec029f
commit ffcf6b2596

View File

@@ -134,7 +134,7 @@ class App:
self.__current_filepath = filepath self.__current_filepath = filepath
self.__file = open(str(filepath), mode) self.__file = open(str(filepath), mode)
return __enter__ return self
# @TODO write below method to duplicate file or template in local to project role file/template # @TODO write below method to duplicate file or template in local to project role file/template
def clone(self, source_scope: Scopes = Scopes.SYS, target_scope: Scopes = Scopes.PROJ, index: int = 0) -> Never: def clone(self, source_scope: Scopes = Scopes.SYS, target_scope: Scopes = Scopes.PROJ, index: int = 0) -> Never: