From d60066a0b1043d125367a57045321945dcab3f58 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Fri, 9 Aug 2019 08:12:50 +1000 Subject: [PATCH] chore: linter fixes (#185) --- cmd/github.go | 2 +- cmd/templates.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/github.go b/cmd/github.go index 7c7bb07a..6258ed2f 100644 --- a/cmd/github.go +++ b/cmd/github.go @@ -18,7 +18,7 @@ func NewGitHubHelper() *GitHubHelper { } // GetVersionTags gets the list of tags on the Wails repo -// It retuns a list of sorted tags in descending order +// It returns a list of sorted tags in descending order func (g *GitHubHelper) GetVersionTags() ([]*SemanticVersion, error) { result := []*SemanticVersion{} diff --git a/cmd/templates.go b/cmd/templates.go index 241077b0..f2ee736b 100644 --- a/cmd/templates.go +++ b/cmd/templates.go @@ -67,7 +67,7 @@ func NewTemplateHelper() *TemplateHelper { } } -// IsValidTemplate returns true if the given tempalte name resides on disk +// IsValidTemplate returns true if the given template name resides on disk func (t *TemplateHelper) IsValidTemplate(templateName string) bool { pathToTemplate := filepath.Join(t.templateDir.fullPath, templateName) return t.fs.DirExists(pathToTemplate)