From e3399955208e25f31cd9dc1e68ec7c204ff4fdf2 Mon Sep 17 00:00:00 2001 From: luantranminh Date: Tue, 24 Sep 2024 16:55:50 +0700 Subject: [PATCH] chore: remove comments --- prompt.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/prompt.go b/prompt.go index 3b95c88..4827854 100644 --- a/prompt.go +++ b/prompt.go @@ -354,7 +354,7 @@ func (i *InitActionCmd) getEnvs(ctx context.Context, path string, cr RepoExplore hasRepoName bool ) if len(b.Labels) == 0 { - //TODO: fix, it can be conflicting with other envs + //TODO: fix, it may conflict with other envs names name = UnnamedEnv } else { name = b.Labels[0] @@ -539,9 +539,6 @@ func (i *InitActionCmd) validateParams() error { if i.DirPath != "" || i.DirName != "" { return errors.New("dirpath and dirname are not applicable for declarative flow") } - // if i.From == "" { - // return errors.New("from is required for declarative flow") - // } } return nil }