Skip to content

Commit

Permalink
fix: wrong copy&paste in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Oct 29, 2024
1 parent cd0788c commit 8212bd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modulegen/internal/workfile/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ func (g Generator) Generate(ctx context.Context) error {

rootGoWork, err := Read(rootGoWorkFilePath)
if err != nil {
return fmt.Errorf("read go.mod file: %w", err)
return fmt.Errorf("read go.work file: %w", err)
}

err = newWorkFile(rootGoWork, examples, modules)
if err != nil {
return fmt.Errorf("create go.mod file: %w", err)
return fmt.Errorf("create go.work file: %w", err)
}

return Write(rootGoWorkFilePath, rootGoWork)
Expand Down

0 comments on commit 8212bd1

Please sign in to comment.