Skip to content

Commit 2065bc6

Browse files
authored
Merge pull request #357 from delaneyj/patch-1
Fixed spelling error.
2 parents ff7d9f8 + 2ed2427 commit 2065bc6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: example/service.twirp.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: protoc-gen-twirp/generator.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ func (t *twirp) generateUtils() {
471471
t.P()
472472

473473
t.P(`// sanitizeBaseURL parses the the baseURL, and adds the "http" scheme if needed.`)
474-
t.P(`// If the URL is unparsable, the baseURL is returned unchaged.`)
474+
t.P(`// If the URL is unparsable, the baseURL is returned unchanged.`)
475475
t.P(`func sanitizeBaseURL(baseURL string) string {`)
476476
t.P(` u, err := `, t.pkgs["url"], `.Parse(baseURL)`)
477477
t.P(` if err != nil {`)

0 commit comments

Comments
 (0)