diff options
Diffstat (limited to 'overlays/patches/gh/Support-reading-auth-token-from-file-descriptor.patch')
-rw-r--r-- | overlays/patches/gh/Support-reading-auth-token-from-file-descriptor.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/overlays/patches/gh/Support-reading-auth-token-from-file-descriptor.patch b/overlays/patches/gh/Support-reading-auth-token-from-file-descriptor.patch index 0e82646855bd..7485fcc69f8b 100644 --- a/overlays/patches/gh/Support-reading-auth-token-from-file-descriptor.patch +++ b/overlays/patches/gh/Support-reading-auth-token-from-file-descriptor.patch @@ -1,4 +1,4 @@ -From 26fb22ee6b075aacf849c128f54fad07a3b45316 Mon Sep 17 00:00:00 2001 +From 796721d5e0529a952e905497b2d57d2d471799af Mon Sep 17 00:00:00 2001 From: Alyssa Ross <hi@alyssa.is> Date: Mon, 29 Mar 2021 14:12:17 +0000 Subject: [PATCH] Support reading auth token from file descriptor @@ -14,7 +14,7 @@ This is a quick hack: 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/internal/config/from_env.go b/internal/config/from_env.go -index 97a5e5b4..f2e758bc 100644 +index 6373f169..1af9dfe6 100644 --- a/internal/config/from_env.go +++ b/internal/config/from_env.go @@ -2,13 +2,16 @@ package config @@ -25,7 +25,7 @@ index 97a5e5b4..f2e758bc 100644 "os" + "strconv" - "github.com/cli/cli/internal/ghinstance" + "github.com/cli/cli/v2/internal/ghinstance" ) const ( @@ -73,5 +73,5 @@ index 97a5e5b4..f2e758bc 100644 os.Getenv(GH_TOKEN) != "" || os.Getenv(GITHUB_TOKEN) != "" -- -2.30.0 +2.33.0 |