@rogatio/cli 5.2.2 → 5.2.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.
@@ -22025,7 +22025,7 @@ var darwin_default = darwinAdapter;
22025
22025
  var CA_DIR = "/usr/local/share/ca-certificates";
22026
22026
  var CERT_PATH = posixJoin2(CA_DIR, "rogatio-ca.crt");
22027
22027
  function hasSudo() {
22028
- const result = spawnSync2("sudo", ["-n", "true"], { timeout: 1e3 });
22028
+ const result = spawnSync2("which", ["sudo"], { timeout: 1e3 });
22029
22029
  return result.status === 0;
22030
22030
  }
22031
22031
  var linuxAdapter = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rogatio/cli",
3
- "version": "5.2.2",
3
+ "version": "5.2.3",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Local-first browser request and response rules — editor host, file verification, test runner, and runtime dispatch.",