mirror of
https://github.com/Ultimaker/Cura.git
synced 2026-01-04 05:40:35 -07:00
removed path with parent because it doesn't exist anymore
This commit is contained in:
parent
061a80deb4
commit
29617ea22f
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue