summaryrefslogtreecommitdiff
path: root/cleanGoSum.go
diff options
context:
space:
mode:
Diffstat (limited to 'cleanGoSum.go')
-rw-r--r--cleanGoSum.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cleanGoSum.go b/cleanGoSum.go
index aa23d8c..61f6036 100644
--- a/cleanGoSum.go
+++ b/cleanGoSum.go
@@ -140,8 +140,8 @@ func (f *Forge) TrimGoSum(check *gitpb.Repo) error {
}
// rewrite the go.sum file
-// data, _ := os.ReadFile("go.sum")
-// cobol.DumbTable(string(data))
+ // data, _ := os.ReadFile("go.sum")
+ // cobol.DumbTable(string(data))
newfilename := filepath.Join(filepath.Join(check.FullPath, "go.sum"))
newf, err := os.OpenFile(newfilename, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0644)