mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-05 00:55:09 +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 """
|
""" Check if there is a file that is deleted, this causes upgrade scripts to not work properly """
|
||||||
|
|
||||||
yield Diagnostic(
|
yield Diagnostic(
|
||||||
file = self._file,
|
file = self._file.parent,
|
||||||
diagnostic_name = "diagnostic-resource-file-deleted",
|
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",
|
message = f"File: {self._file} must not be deleted as it is not allowed. It will create issues upgrading Cura",
|
||||||
level = "Error",
|
level = "Error",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user