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"));
|
ERR_CONTINUE(!err.has("message"));
|
||||||
|
|
||||||
ScriptError serr;
|
ScriptError serr;
|
||||||
|
if (err.has("path")) {
|
||||||
|
serr.path = err["path"];
|
||||||
|
}
|
||||||
serr.line = err["line"];
|
serr.line = err["line"];
|
||||||
serr.column = err["column"];
|
serr.column = err["column"];
|
||||||
serr.message = err["message"];
|
serr.message = err["message"];
|
||||||
|
|
Loading…
Reference in New Issue