We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7f7911 commit 39af0c7Copy full SHA for 39af0c7
prompts/add-author.js
@@ -19,8 +19,15 @@ const options = [
19
name: 'author',
20
message: 'Current Author:',
21
pageSize: 20,
22
- choices: function () {
23
- return getAPIAuthorsObj();
+ choices: async function () {
+ const allAuthors = await getAPIAuthorsObj();
24
+ return [
25
+ {
26
+ name: '(None, this this)',
27
+ value: false
28
+ },
29
+ ... allAuthors
30
+ ];
31
}
32
},
33
{
0 commit comments