fix(cli): mention remote daemon host on ls connect failure (#1043)
This commit is contained in:
@@ -70,6 +70,8 @@ try {
|
||||
output.toLowerCase().includes("connect") ||
|
||||
output.toLowerCase().includes("cannot");
|
||||
assert(hasError, "error message should mention connection issue");
|
||||
assert(output.includes("--host <host:port>"), "error message should mention --host");
|
||||
assert(output.includes("PASEO_HOST"), "error message should mention PASEO_HOST");
|
||||
console.log("✓ paseo ls handles daemon not running\n");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user