You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/PkgAuthentication.jl
+9-6Lines changed: 9 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -800,14 +800,17 @@ end
800
800
801
801
functionopen_browser(url::AbstractString)
802
802
@debug"opening auth in browser"
803
-
printstyled(; color=:yellow, bold=true,
804
-
"Authentication required: please authenticate in browser.\n")
805
803
printstyled(;
804
+
"Authentication required: please authenticate in browser.\n";
806
805
color=:yellow,
806
+
bold=true,
807
+
)
808
+
printstyled(
807
809
"""
808
-
The authentication page should open in your browser automatically, but you may need to switch to the opened window or tab. If the authentication page is not automatically opened, you can authenticate by manually opening the following URL: """,
810
+
The authentication page should open in your browser automatically, but you may need to switch to the opened window or tab. If the authentication page is not automatically opened, you can authenticate by manually opening the following URL: """;
811
+
color=:yellow,
809
812
)
810
-
printstyled(; color=:light_blue, "$url\n")
813
+
printstyled("$url\n"; color=:light_blue)
811
814
try
812
815
if OPEN_BROWSER_HOOK[] !==nothing
813
816
try
@@ -907,10 +910,10 @@ function generate_auth_handler(maxcount::Integer)
0 commit comments