@yishiguji/tokenarena 0.8.3 → 0.8.4
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5694,7 +5694,7 @@ import { platform } from "os";
|
|
|
5694
5694
|
function isCommandAvailable(command) {
|
|
5695
5695
|
try {
|
|
5696
5696
|
const check = platform() === "win32" ? `where ${command}` : `command -v ${command}`;
|
|
5697
|
-
execSync(check, { stdio: "ignore" });
|
|
5697
|
+
execSync(check, { stdio: "ignore", timeout: 5e3 });
|
|
5698
5698
|
return true;
|
|
5699
5699
|
} catch {
|
|
5700
5700
|
return false;
|