mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-03 11:05:13 +08:00
removed path with parent because it doesn't exist anymore
This commit is contained in:
parent
061a80deb4
commit
29617ea22f
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user