Make "clr-check-command" template usable on *nix

fixes #12474
This commit is contained in:
Gunnar Beutner 2016-08-18 10:27:41 +02:00
parent 730364b600
commit 487d2a9907

View File

@ -37,7 +37,11 @@ System.assert(Internal.run_with_activation_context(function() {
}
template CheckCommand "clr-check-command" use (_Internal) {
execute = _Internal.ClrCheck
if (_Internal.ClrCheck) {
execute = _Internal.ClrCheck
} else {
execute = _Internal.NullCheck
}
}
template NotificationCommand "plugin-notification-command" use (_Internal) {