fix(copilot): improve fetching token from file

Andrey Nering created

Change summary

cmd/copilot/main.go | 3 +++
1 file changed, 3 insertions(+)

Detailed changes

cmd/copilot/main.go 🔗

@@ -249,6 +249,9 @@ func tokenFromDisk() string {
 	if app, ok := content["github.com:Iv1.b507a08c87ecfe98"]; ok {
 		return app.OAuthToken
 	}
+	if app, ok := content["github.com:Iv1.b507a08c87ecfe98:zed"]; ok {
+		return app.OAuthToken
+	}
 	return ""
 }