mirror of
https://github.com/godotengine/godot.git
synced 2025-01-18 20:40:57 +08:00
Merge pull request #83588 from voidedWarranties/fix_sle_validate
Add `path` option to `ScriptLanguageExtension::_validate`
This commit is contained in:
commit
792afd2cad
@ -313,6 +313,9 @@ public:
|
||||
ERR_CONTINUE(!err.has("message"));
|
||||
|
||||
ScriptError serr;
|
||||
if (err.has("path")) {
|
||||
serr.path = err["path"];
|
||||
}
|
||||
serr.line = err["line"];
|
||||
serr.column = err["column"];
|
||||
serr.message = err["message"];
|
||||
|
Loading…
Reference in New Issue
Block a user