diff --git a/cmd/tmc/main.go b/cmd/tmc/main.go index 4f65a8b7..cd552acf 100644 --- a/cmd/tmc/main.go +++ b/cmd/tmc/main.go @@ -231,7 +231,7 @@ func logErrMsg(path string, err error, debug bool, errFile *os.File) string { return msg } -// enhanceTemplateData enhances template data using templateman +// enhanceTemplate enhances template data using templateman // ref: https://github.com/projectdiscovery/templateman/blob/main/templateman-rest-api/README.md#enhance-api func enhanceTemplate(data string) (string, bool, error) { resp, err := retryablehttp.DefaultClient().Post(fmt.Sprintf("%s/enhance", tmBaseUrl), "application/x-yaml", strings.NewReader(data)) diff --git a/internal/runner/lazy.go b/internal/runner/lazy.go index 193b22ff..b61dd551 100644 --- a/internal/runner/lazy.go +++ b/internal/runner/lazy.go @@ -21,7 +21,7 @@ type AuthLazyFetchOptions struct { OnError func(error) } -// GetAuthTemlStore create new loader for loading auth templates +// GetAuthTmplStore create new loader for loading auth templates func GetAuthTmplStore(opts types.Options, catalog catalog.Catalog, execOpts protocols.ExecutorOptions) (*loader.Store, error) { tmpls := []string{} for _, file := range opts.SecretsFile {