diff options
| author | Jeff Carr <[email protected]> | 2025-10-20 13:21:03 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-20 13:21:03 -0500 |
| commit | 69b5038c58e6a8487f22aeaf28eddec5c785c283 (patch) | |
| tree | 72b9910c32a803d8c7f3bffc0f5d7175516d39b0 /goWork.go | |
| parent | 2ecc340541f88d4c1cbe437efe79a6fcfdbf5499 (diff) | |
probably better. notsure
Diffstat (limited to 'goWork.go')
| -rw-r--r-- | goWork.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ func (f *Forge) MakeGoWork() error { // has gone terribly wrong return errors.New("if you want a go.work file in ~/go/src/, touch it first") } - filename := filepath.Join(f.Config.ReposDir, "go.work") + filename := filepath.Join(getClonePathFromMode(), "go.work") workf, err := os.OpenFile(filename, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0644) if err != nil { return err |
