Skip to content

Commit

Permalink
Merge pull request #13 from aquaproj/fix/fix-log
Browse files Browse the repository at this point in the history
fix: fix wrong log
  • Loading branch information
suzuki-shunsuke authored Aug 6, 2022
2 parents a9f9c1e + b5c1dd5 commit bee18f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scaffold/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func createPkgFile(ctx context.Context, pkgName, pkgFilePath string) error {
return fmt.Errorf("write a string to file %s: %w", pkgFilePath, err)
}
buf := &bytes.Buffer{}
fmt.Fprintf(os.Stderr, "+ aqua g %s >> %s\n", pkgFilePath, pkgName)
fmt.Fprintf(os.Stderr, "+ aqua g %s >> %s\n", pkgName, pkgFilePath)
cmd := exec.CommandContext(ctx, "aqua", "g", pkgName)
cmd.Stdout = buf
cmd.Stderr = os.Stderr
Expand Down

0 comments on commit bee18f9

Please sign in to comment.