aboutsummaryrefslogtreecommitdiff
path: root/internal/commands/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/commands/init.go')
-rw-r--r--internal/commands/init.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/commands/init.go b/internal/commands/init.go
index 4d41553..c4bc138 100644
--- a/internal/commands/init.go
+++ b/internal/commands/init.go
@@ -8,7 +8,7 @@ import (
"github.com/urfave/cli/v2"
)
-func Init(sources *yae.Sources) func(c *cli.Context) error {
+func Init(sources *yae.Environment) func(c *cli.Context) error {
return func(c *cli.Context) error {
if _, err := os.Stat(c.String("sources")); err == nil {
return fmt.Errorf("sources file already exists")