Skip to content

Commit 5d339ec

Browse files
committed
There's no reason to make this context cancelable
1 parent 9e8b14f commit 5d339ec

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

git-sizer.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,7 @@ var ReleaseVersion string
113113
var BuildVersion string
114114

115115
func main() {
116-
ctx, cancel := context.WithCancel(context.Background())
117-
defer cancel()
116+
ctx := context.Background()
118117

119118
err := mainImplementation(ctx, os.Stdout, os.Stderr, os.Args[1:])
120119
if err != nil {

0 commit comments

Comments
 (0)