aboutsummaryrefslogtreecommitdiff
path: root/build.go
diff options
context:
space:
mode:
authorGreg <gco@jazzhaiku.com>2022-04-10 13:24:57 -0700
committerGitHub <noreply@github.com>2022-04-10 22:24:57 +0200
commitbca6d31b959cc87b8d41ddc86ad31a85ec800470 (patch)
treed20f0168d258d6bb91c33d0493cf05623e8fc8a8 /build.go
parentdb72579f0e8c31068d0d112f4841a597594e5ee6 (diff)
downloadsyncthing-bca6d31b959cc87b8d41ddc86ad31a85ec800470.tar.gz
syncthing-bca6d31b959cc87b8d41ddc86ad31a85ec800470.zip
Correct comment typo in build.go (#8234)
Diffstat (limited to 'build.go')
-rw-r--r--build.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.go b/build.go
index 71cdf12d6..ff9419325 100644
--- a/build.go
+++ b/build.go
@@ -985,7 +985,7 @@ func getGitVersion() (string, error) {
v0 := string(bs)
// To be more semantic-versionish and ensure proper ordering in our
- // upgrade process, we make sure there's only one hypen in the version.
+ // upgrade process, we make sure there's only one hyphen in the version.
versionRe := regexp.MustCompile(`-([0-9]{1,3}-g[0-9a-f]{5,10}(-dirty)?)`)
if m := versionRe.FindStringSubmatch(vcur); len(m) > 0 {