mirror of
https://github.com/openclaw/openclaw.git
synced 2026-02-19 18:39:20 -05:00
Fixing windows test
This commit is contained in:
committed by
Gustavo Madeira Santana
parent
4a444a5978
commit
fbb90b155d
@@ -125,7 +125,8 @@ describe("docker-setup.sh", () => {
|
||||
const assocCheck = spawnSync(systemBash, ["-c", "declare -A _t=()"], {
|
||||
encoding: "utf8",
|
||||
});
|
||||
if (assocCheck.status === 0) {
|
||||
// Skip if bash is unavailable (Windows) or supports associative arrays (Bash 4+)
|
||||
if (assocCheck.status === null || assocCheck.status === 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user