@bragduck/cli 2.10.2 → 2.10.3

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.
@@ -3712,23 +3712,22 @@ var ConfluenceService = class {
3712
3712
  }
3713
3713
  const queries = [];
3714
3714
  queries.push("type = page");
3715
- queries.push("status = current");
3716
3715
  if (options.days) {
3717
- queries.push(`lastModified >= -${options.days}d`);
3716
+ queries.push(`lastmodified > startOfDay("-${options.days}d")`);
3718
3717
  }
3719
3718
  if (options.author) {
3720
3719
  if (options.author.includes("@")) {
3721
- queries.push("(creator = currentUser() OR contributor = currentUser())");
3720
+ queries.push("(creator = currentUser() or contributor = currentUser())");
3722
3721
  } else {
3723
- queries.push(`(creator = "${options.author}" OR contributor = "${options.author}")`);
3722
+ queries.push(`(creator = "${options.author}" or contributor = "${options.author}")`);
3724
3723
  }
3725
3724
  } else {
3726
- queries.push("(creator = currentUser() OR contributor = currentUser())");
3725
+ queries.push("(creator = currentUser() or contributor = currentUser())");
3727
3726
  }
3728
3727
  if (options.cql) {
3729
3728
  queries.push(`(${options.cql})`);
3730
3729
  }
3731
- return queries.join(" AND ");
3730
+ return queries.join(" and ");
3732
3731
  }
3733
3732
  /**
3734
3733
  * Estimate page size for impact scoring