Skip to content

Commit b427643

Browse files
#0: fix missing skipInteration option for postFixKeysReretrieve
1 parent ba84181 commit b427643

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

@types/lib/util/cli.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/util/cli.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ const Cli = {
8787
return true;
8888
} else if (Util.isFalse(Util.skipInteraction?.fixKeysReretrieve)) {
8989
return false;
90+
} else if (Util.skipInteraction) {
91+
// generic --yes / --skipInteraction: use the confirm default (true = do re-retrieve)
92+
return true;
9093
} else {
9194
const fixKeysReretrieve = await confirm({
9295
message: `Do you want to re-retrieve dependent types (${dependentTypes.join(

0 commit comments

Comments
 (0)