webmux 0.10.0 → 0.10.1
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/backend/dist/server.js +5 -1
- package/bin/webmux.js +5 -1
- package/package.json +1 -1
package/backend/dist/server.js
CHANGED
|
@@ -9751,7 +9751,11 @@ function buildErrorMessage(name, exitCode, stdout, stderr) {
|
|
|
9751
9751
|
return `${name} hook failed (exit ${exitCode})`;
|
|
9752
9752
|
}
|
|
9753
9753
|
function hasDirenv() {
|
|
9754
|
-
|
|
9754
|
+
try {
|
|
9755
|
+
return Bun.spawnSync(["direnv", "version"], { stdout: "pipe", stderr: "pipe" }).exitCode === 0;
|
|
9756
|
+
} catch {
|
|
9757
|
+
return false;
|
|
9758
|
+
}
|
|
9755
9759
|
}
|
|
9756
9760
|
|
|
9757
9761
|
class BunLifecycleHookRunner {
|
package/bin/webmux.js
CHANGED
|
@@ -10039,7 +10039,11 @@ function buildErrorMessage(name, exitCode, stdout, stderr) {
|
|
|
10039
10039
|
return `${name} hook failed (exit ${exitCode})`;
|
|
10040
10040
|
}
|
|
10041
10041
|
function hasDirenv() {
|
|
10042
|
-
|
|
10042
|
+
try {
|
|
10043
|
+
return Bun.spawnSync(["direnv", "version"], { stdout: "pipe", stderr: "pipe" }).exitCode === 0;
|
|
10044
|
+
} catch {
|
|
10045
|
+
return false;
|
|
10046
|
+
}
|
|
10043
10047
|
}
|
|
10044
10048
|
|
|
10045
10049
|
class BunLifecycleHookRunner {
|