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:
@@ -134,7 +134,7 @@ class App:
|
||||
self.__current_filepath = filepath
|
||||
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
|
||||
def clone(self, source_scope: Scopes = Scopes.SYS, target_scope: Scopes = Scopes.PROJ, index: int = 0) -> Never:
|
||||
|
||||
Reference in New Issue
Block a user