diff options
| author | Jeff Carr <[email protected]> | 2025-10-19 04:48:28 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-19 04:48:28 -0500 |
| commit | 867b8dce9ea8f9f22718313691664f1f0e97e4c8 (patch) | |
| tree | d2d45fffa8e106475a09b766b6bf316aff92d56e /work.go | |
| parent | 2896bf0b1d58b27b331ea437c7c5a7d7318c8e43 (diff) | |
new argv
Diffstat (limited to 'work.go')
| -rw-r--r-- | work.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -10,10 +10,10 @@ func autoWork() { if !argv.AutoWork { return } - log.Info("About to re-create", forge.Config.ReposDir+"/go.work") - shell.PathRun(forge.Config.ReposDir, []string{"mv", "go.work", "go.work.last"}) - forge.MakeGoWork() - shell.PathRun(forge.Config.ReposDir, []string{"go", "work", "use"}) + log.Info("About to re-create", me.forge.Config.ReposDir+"/go.work") + shell.PathRun(me.forge.Config.ReposDir, []string{"mv", "go.work", "go.work.last"}) + me.forge.MakeGoWork() + shell.PathRun(me.forge.Config.ReposDir, []string{"go", "work", "use"}) log.Info("") log.Info("original go.work file saved as go.work.last") log.Info("") |
