From e68033533c3906dbacd14950a8fd391c74b7d4e1 Mon Sep 17 00:00:00 2001 From: Jordan Ribbink Date: Sat, 5 Oct 2024 13:01:14 -0700 Subject: [PATCH] fix tests --- internal/super/generator/file_template.go | 6 +++++- internal/super/setup.go | 4 ---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/super/generator/file_template.go b/internal/super/generator/file_template.go index 5fdf8716a..8a9969973 100644 --- a/internal/super/generator/file_template.go +++ b/internal/super/generator/file_template.go @@ -25,7 +25,11 @@ func NewFileTemplate( var _ TemplateItem = FileTemplate{} -// GetTemplate returns the template of the contract +// GetType returns the type of the contract +func (c FileTemplate) GetType() string { + return "file" +} + func (c FileTemplate) GetTemplatePath() string { return c.TemplatePath } diff --git a/internal/super/setup.go b/internal/super/setup.go index 2fc439d48..d12985336 100644 --- a/internal/super/setup.go +++ b/internal/super/setup.go @@ -25,10 +25,6 @@ import ( "os" "path/filepath" - "github.com/onflow/flow-cli/internal/dependencymanager" - "github.com/onflow/flow-cli/internal/super/generator" - "github.com/onflow/flow-cli/internal/util" - "github.com/spf13/afero" "github.com/onflow/flow-cli/internal/prompt"