From 497ecf476afd8dee38c86540ebcb0ac45e301bec Mon Sep 17 00:00:00 2001 From: decentral1se Date: Mon, 12 Jun 2023 00:09:52 +0200 Subject: [PATCH] docs: wording [ci skip] --- pkg/runtime/runtime.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkg/runtime/runtime.go b/pkg/runtime/runtime.go index e604b4e1..f918f22d 100644 --- a/pkg/runtime/runtime.go +++ b/pkg/runtime/runtime.go @@ -11,13 +11,13 @@ type Config struct { EnsureRecipeLatest bool // ensure the local recipe has latest changes } -// Option modified a Config. The convetion for passing Options to functions is -// so far, only used in internal/validate.go. A Config is then constructed and -// passed down further into the code. This may change in the future but this is -// at least the abstraction so far. +// Option modifies a Config. The convention for passing an Option to a function +// is so far, only used in internal/validate.go. A Config is then constructed +// and passed down further into the code. This may change in the future but +// this is at least the abstraction so far. type Option func(c *Config) -// New instantiates a new Config. +// New instantiates a Config. func New(opts ...Option) *Config { conf := &Config{ EnsureRecipeExists: true,