Skip to content

Commit 2650ab1

Browse files
authored
Merge pull request gitgitgadget#1793 from dscho/fix-set-app-token
misc-helper set-app-token: _really_ it work with the optional arguments
2 parents cbe8454 + efad297 commit 2650ab1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/misc-helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ const commandOptions = commander.opts<ICommanderOptions>();
393393
.command("set-app-token")
394394
.argument("[args...]")
395395
.description("Set the GitHub App token in the Git config")
396-
.action(async (...args: string[]) => {
396+
.action(async (args: string[]) => {
397397
const set = async (options: { appID: number; installationID?: number; name: string }): Promise<void> => {
398398
const appName = options.name === config.app.name ? config.app.name : config.app.altname;
399399
const appNameKey = `${appName}.privateKey`;

0 commit comments

Comments
 (0)