Skip to content

Commit

Permalink
chore: remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
luantranminh committed Sep 24, 2024
1 parent 90e1765 commit 1f2baf5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions prompt.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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
}

0 comments on commit 1f2baf5

Please sign in to comment.