From 476589b96a0f864d30829d23fda69a8e24a786ec Mon Sep 17 00:00:00 2001 From: Alex Ford Date: Tue, 17 Jul 2018 21:13:31 -0700 Subject: [PATCH] Fixup `token` command to output valid json. --- git_credential_github_app_auth/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git_credential_github_app_auth/cli.py b/git_credential_github_app_auth/cli.py index 4b3664a..7a385a9 100644 --- a/git_credential_github_app_auth/cli.py +++ b/git_credential_github_app_auth/cli.py @@ -59,7 +59,7 @@ def current(appidentity): @pass_appidentity @click.argument('account') def token(appidentity, account): - print(installation_token_for(account, appidentity)) + print(json.dumps(installation_token_for(account, appidentity))) @cli.add_command