Skip to content

Commit f25ab85

Browse files
authored
Fix Redis invalid connection message (#6172)
* Fix Redis dev connect message * Put quotes around missing password message
1 parent a338483 commit f25ab85

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

platform/src/components/aws/redis.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -424,9 +424,7 @@ export class Redis extends Component implements Link.Linkable {
424424
SST_DEV_COMMAND_MESSAGE: interpolate`Make sure your local Redis server is using:
425425
426426
username: "${dev.username}"
427-
password: ${
428-
dev.password ? `"${dev.password}"` : "\x1b[38;5;8m[no password]\x1b[0m"
429-
}
427+
password: "${dev.password ?? "\x1b[38;5;8m[no password]\x1b[0m"}"
430428
431429
Listening on "${dev.host}:${dev.port}"...`,
432430
},

0 commit comments

Comments
 (0)