From b389a3667310bc373cb771fe05dac180ce0351e6 Mon Sep 17 00:00:00 2001 From: Taras Kushnir Date: Sat, 22 Aug 2020 08:59:56 +0300 Subject: [PATCH] Update tdg --- go.mod | 2 +- go.sum | 2 ++ vendor/github.com/ribtoks/tdg/pkg/tdglib/todogenerator.go | 1 + vendor/modules.txt | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 64c6a16..908f01b 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.14 require ( github.com/google/go-github/v31 v31.0.0 - github.com/ribtoks/tdg v0.0.0-20200516090954-4c148d8c94b4 + github.com/ribtoks/tdg v0.0.0-20200822055328-ab56d56aa9f9 github.com/zieckey/goini v0.0.0-20180118150432-0da17d361d26 // indirect golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be ) diff --git a/go.sum b/go.sum index c385819..04325cb 100644 --- a/go.sum +++ b/go.sum @@ -9,6 +9,8 @@ github.com/ribtoks/tdg v0.0.0-20200515192033-b92d0e0bf73e h1:Eo6IRRZyYiN9qKx4RWN github.com/ribtoks/tdg v0.0.0-20200515192033-b92d0e0bf73e/go.mod h1:W4IVBHOFio8DXkpgfyz7qtl08xymauXmHD3TApFLW1o= github.com/ribtoks/tdg v0.0.0-20200516090954-4c148d8c94b4 h1:o0/WFBonGuTIwD13hqsmIPfU2V/Zv3VCJ+TAwggZceI= github.com/ribtoks/tdg v0.0.0-20200516090954-4c148d8c94b4/go.mod h1:W4IVBHOFio8DXkpgfyz7qtl08xymauXmHD3TApFLW1o= +github.com/ribtoks/tdg v0.0.0-20200822055328-ab56d56aa9f9 h1:Nop/sYgUM1TtnIOrATLXshRikIFH0r+JkvAB9kOVzS4= +github.com/ribtoks/tdg v0.0.0-20200822055328-ab56d56aa9f9/go.mod h1:W4IVBHOFio8DXkpgfyz7qtl08xymauXmHD3TApFLW1o= github.com/zieckey/goini v0.0.0-20180118150432-0da17d361d26 h1:E0lEWrifmR0ACbGf5PLji1XbW6rtIXLHCXO/YOqi0AE= github.com/zieckey/goini v0.0.0-20180118150432-0da17d361d26/go.mod h1:TQpdgg7I9+PFIkatlx/dnZyZb4iZyCUx1HJj4rXi3+E= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 h1:VklqNMn3ovrHsnt90PveolxSbWFaJdECFbxSq0Mqo2M= diff --git a/vendor/github.com/ribtoks/tdg/pkg/tdglib/todogenerator.go b/vendor/github.com/ribtoks/tdg/pkg/tdglib/todogenerator.go index ba9aff2..c002e25 100644 --- a/vendor/github.com/ribtoks/tdg/pkg/tdglib/todogenerator.go +++ b/vendor/github.com/ribtoks/tdg/pkg/tdglib/todogenerator.go @@ -198,6 +198,7 @@ func (td *ToDoGenerator) addComment(c *ToDoComment) { defer td.commentsWG.Done() h := md5.New() + io.WriteString(h, c.File) io.WriteString(h, c.Title) io.WriteString(h, c.Body) s := hex.EncodeToString(h.Sum(nil)) diff --git a/vendor/modules.txt b/vendor/modules.txt index beea4ef..5d3e893 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -5,7 +5,7 @@ github.com/golang/protobuf/proto github.com/google/go-github/v31/github # github.com/google/go-querystring v1.0.0 github.com/google/go-querystring/query -# github.com/ribtoks/tdg v0.0.0-20200516090954-4c148d8c94b4 +# github.com/ribtoks/tdg v0.0.0-20200822055328-ab56d56aa9f9 ## explicit github.com/ribtoks/tdg/pkg/tdglib # github.com/zieckey/goini v0.0.0-20180118150432-0da17d361d26