summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorChristian Muehlhaeuser <muesli@gmail.com>2019-07-19 03:55:33 +0200
committerJesse Duffield <jessedduffield@gmail.com>2019-07-27 10:53:19 +1000
commit69ac0036e67ac22fdf3baaa083a9020d001180d6 (patch)
treee36d5f07a8d82a40693772fcbb6717700361e52e /scripts
parent975a5315b036b84e0d8befd7ca5e7dbc062caf84 (diff)
Swallow errors entirely, instead of assigning and ignoring them
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/push_new_patch/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/push_new_patch/main.go b/scripts/push_new_patch/main.go
index b1660d3c1..01b844c8d 100755
--- a/scripts/push_new_patch/main.go
+++ b/scripts/push_new_patch/main.go
@@ -29,7 +29,7 @@ func main() {
splitVersion := strings.Split(stringVersion, ".")
patch := splitVersion[len(splitVersion)-1]
- newPatch, err := strconv.Atoi(patch)
+ newPatch, _ := strconv.Atoi(patch)
splitVersion[len(splitVersion)-1] = strconv.FormatInt(int64(newPatch)+1, 10)
newVersion := strings.Join(splitVersion, ".")