removed path with parent because it doesn't exist anymore

This commit is contained in:
Saumya Jain 2024-04-08 12:42:33 +02:00
parent 061a80deb4
commit 29617ea22f

View File

@ -36,7 +36,7 @@ class Directory(Linter):
""" Check if there is a file that is deleted, this causes upgrade scripts to not work properly """
yield Diagnostic(
file = self._file,
file = self._file.parent,
diagnostic_name = "diagnostic-resource-file-deleted",
message = f"File: {self._file} must not be deleted as it is not allowed. It will create issues upgrading Cura",
level = "Error",