[de] Return nothing to a plugin when the builder script was canceled

This commit is contained in:
KirillovIlya
2024-03-04 18:09:49 +03:00
committed by Ilya Kirillov
parent 004598a7a3
commit 0e6b2f26ba
6 changed files with 17 additions and 6 deletions

View File

@ -1270,14 +1270,17 @@
{
let _t = this;
this.api._afterEvalCommand(function() {
_t.api.onEndBuilderScript();
if (!_t.api.onEndBuilderScript())
commandReturnValue = undefined;
_t.shiftCommand(commandReturnValue);
});
return;
}
else
{
this.api.onEndBuilderScript();
if (!this.api.onEndBuilderScript())
commandReturnValue = undefined;
}
}
}