@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.
- package/dist/node/index.js +1 -1
- package/package.json +1 -1
package/dist/node/index.js
CHANGED
|
@@ -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("
|
|
22028
|
+
const result = spawnSync2("which", ["sudo"], { timeout: 1e3 });
|
|
22029
22029
|
return result.status === 0;
|
|
22030
22030
|
}
|
|
22031
22031
|
var linuxAdapter = {
|
package/package.json
CHANGED