Skip to content

Commit 140a01d

Browse files
committed
fix: include all features in full-mode success JSON
Full mode installs everything, so the success output should list all feature names instead of an empty array. This makes the features and postInstall fields consistent for agents parsing the JSON.
1 parent 189036b commit 140a01d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/nonInteractive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function validate(flags: {
6464
fail(`Project directory '${flags.name}' already exists`)
6565
}
6666

67-
return { name: flags.name, mode: flags.mode, features: [] }
67+
return { name: flags.name, mode: flags.mode, features: featureNames }
6868
}
6969

7070
if (!flags.features) {

0 commit comments

Comments
 (0)