Correct typos in the cli/ folder

Signed-off-by: Casey Korver <casey@korver.dev>
This commit is contained in:
Casey Korver
2024-06-04 03:08:56 +00:00
parent 05c7d4b319
commit d4491fc093
6 changed files with 8 additions and 8 deletions

View File

@ -48,7 +48,7 @@ type Mapping func(string) (string, bool)
// the substitution and an error.
type SubstituteFunc func(string, Mapping) (string, bool, error)
// SubstituteWith subsitute variables in the string with their values.
// SubstituteWith substitutes variables in the string with their values.
// It accepts additional substitute function.
func SubstituteWith(template string, mapping Mapping, pattern *regexp.Regexp, subsFuncs ...SubstituteFunc) (string, error) {
var err error