summaryrefslogtreecommitdiff
path: root/cleanGoSum.go
diff options
context:
space:
mode:
Diffstat (limited to 'cleanGoSum.go')
-rw-r--r--cleanGoSum.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cleanGoSum.go b/cleanGoSum.go
index 73a2d30..aa23d8c 100644
--- a/cleanGoSum.go
+++ b/cleanGoSum.go
@@ -140,6 +140,9 @@ func (f *Forge) TrimGoSum(check *gitpb.Repo) error {
}
// rewrite the go.sum file
+// 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)
if err != nil {