Skip to content

Commit 91fd3a9

Browse files
Rename impl to promptFactory in SearchListPrompt
Agent-Logs-Url: https://github.com/microsoft/rushstack/sessions/489f4c8b-19ff-4dd2-9198-b68f948590c4 Co-authored-by: dmichon-msft <26827560+dmichon-msft@users.noreply.github.com>
1 parent 04ce4a0 commit 91fd3a9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

libraries/rush-lib/src/utilities/prompts/SearchListPrompt.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export async function searchListPrompt<Value>(config: ISearchListConfig<Value>):
4646
isDownKey
4747
} = await import('@inquirer/core');
4848

49-
const impl: (config: ISearchListConfig<unknown>) => Promise<unknown> =
49+
const promptFactory: (config: ISearchListConfig<unknown>) => Promise<unknown> =
5050
createPrompt<unknown, ISearchListConfig<unknown>>((promptConfig, done) => {
5151
const pageSize: number = promptConfig.pageSize ?? 12;
5252

@@ -164,5 +164,5 @@ export async function searchListPrompt<Value>(config: ISearchListConfig<Value>):
164164
];
165165
});
166166

167-
return impl(config as ISearchListConfig<unknown>) as Promise<Value>;
167+
return promptFactory(config as ISearchListConfig<unknown>) as Promise<Value>;
168168
}

0 commit comments

Comments
 (0)