Skip to content

Commit 077e339

Browse files
committed
ghub--token: Fix formatting of error message
1 parent c500395 commit 077e339

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lisp/ghub.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -755,13 +755,13 @@ and call `auth-source-forget+'."
755755
:user user)))))
756756
(unless (or token nocreate)
757757
(error "\
758-
Required %s token (%S for %s%sS) does not exist.
758+
Required %s token (%S for %s%S) does not exist.
759759
See https://magit.vc/manual/ghub/Getting-Started.html
760760
or (info \"(ghub)Getting Started\") for instructions."
761761
(capitalize (symbol-name (or forge 'github)))
762762
user
763763
(if (string-match "\\`\\([^/]+\\)" host)
764-
(format "either \"%s\" or" (match-string 1 host))
764+
(format "either %S or " (match-string 1 host))
765765
"")
766766
host))
767767
(if (functionp token) (funcall token) token)))

0 commit comments

Comments
 (0)