summaryrefslogtreecommitdiff
path: root/cleanGoSum.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-18 09:24:52 -0500
committerJeff Carr <[email protected]>2025-10-18 09:24:52 -0500
commitb8012e05654c9823099fd4bb767c73a4229559f8 (patch)
tree11ba4f79dd542d81b0229525184f9193a7902cd6 /cleanGoSum.go
parent83a57708772703e839c6d5fb15a03d788cd33e8f (diff)
notes for adding this later
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 {