message: Call Built-In Custom Commands always with next function
diff: @@ -34,21 +34,15 @@ export abstract class Command {
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
  protected invokeCallback(response: any): void {
  - if (response !== null) {
  + const success = response !== null;
  if (typeof this.next === 'function') {
  - this.callback(this.next, response, true);
  + this.callback(this.next, response, success);
  } else {
  - this.callback(response, true);
  -
  - }
  -
  - } else {
  -
  - this.callback(response, false);
  + this.callback(response, success);
  }
  