@wix/himalaya-cli 0.897.0 → 0.899.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -279,7 +279,7 @@ async function queryEvents(opts = {}) {
279
279
  let events = (res.events ?? []).map(decodeEvent);
280
280
  if (opts.statuses) {
281
281
  const wanted = new Set(opts.statuses);
282
- events = events.filter((e) => e.eventStatus == null || wanted.has(e.eventStatus));
282
+ events = events.filter((e) => e.eventStatus != null && wanted.has(e.eventStatus));
283
283
  }
284
284
  if (opts.includeDrafts === false) events = events.filter((e) => (e.eventStatus ?? "").toUpperCase() !== "DRAFT");
285
285
  if (opts.title) {