refactor(recipe): move SampleEnv method to new struct

This commit is contained in:
2024-07-08 11:02:43 +02:00
parent f268e5893b
commit 73e9b818b4
3 changed files with 19 additions and 10 deletions

View File

@ -132,7 +132,7 @@ var appNewCommand = cli.Command{
var secrets AppSecrets
var secretTable *jsontable.JSONTable
if internal.Secrets {
sampleEnv, err := recipe.SampleEnv()
sampleEnv, err := r.SampleEnv()
if err != nil {
log.Fatal(err)
}