summaryrefslogtreecommitdiff
path: root/apply
diff options
context:
space:
mode:
Diffstat (limited to 'apply')
-rw-r--r--apply/state.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apply/state.py b/apply/state.py
index 2e9205c..806c785 100644
--- a/apply/state.py
+++ b/apply/state.py
@@ -128,7 +128,7 @@ class StateFile:
self.dirs[path].remove(module)
if len(self.dirs[path]) == 0:
- writer.remove(Path(path))
+ writer.delete(Path(path))
def __delete_link(self, writer: Writer, path: str):
del self.links[path]