Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
fix: go linter
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusromano committed Jun 7, 2022
1 parent 5b09b6f commit 76b364b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,10 +257,12 @@ func (c *Context) resolveImpl(resolver string, param string) interface{} {
return output.Context[param]
}

// SetRequiredConfigured ...
func (c *Context) SetRequiredConfigured() {
c.RequiredConfigured = true
}

// IsReady ...
func (c *Context) IsReady() bool {
return c.RequiredConfigured && !c.Has("requiredParamErrors")
}

0 comments on commit 76b364b

Please sign in to comment.