Skip to content
This repository was archived by the owner on Jul 4, 2026. It is now read-only.

Commit 2dce405

Browse files
committed
fix: : Default docker status is not configured ...
The Docker prompt's default value is not properly configured, causing it to display incorrectly when the user accepts the default. The default should be 'N' (No) and should be displayed/selected properly. Fixes #74
1 parent 3d76ba0 commit 2dce405

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/prompts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const processQuestion = async (question) => {
2323

2424
const displayMessage = `${message}${defaultVal !== undefined ? ` (default: ${type === "confirm" ? (defaultVal ? "Yes" : "No") : defaultVal})` : ""} `;
2525

26-
const confirmHint = defaultVal ? "(Y/n)" : "(y/N)";
26+
const confirmHint = defaultVal === true ? "(Y/n)" : "(y/N)";
2727
if (type === "confirm") {
2828
while (true) {
2929
const input = await ask(

0 commit comments

Comments
 (0)