Fixed a bug where the method was checking the wrong object for dirtiness.

This commit is contained in:
Paul Gauthier 2024-05-18 19:17:56 -07:00
parent 6b6f9e9ed4
commit 66f53db927

View file

@ -178,7 +178,7 @@ class Commands:
self.coder.abs_fnames.add(abs_file_path)
self.coder.run(errors)
if self.repo.is_dirty():
if self.coder.repo.is_dirty():
self.cmd_commit("")
def cmd_clear(self, args):