Compare commits

...

1 Commits

Author SHA1 Message Date
Lea Anthony
b9f9c97c67 chore: linter fixes 2019-08-09 08:11:36 +10:00
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ func NewGitHubHelper() *GitHubHelper {
} }
// GetVersionTags gets the list of tags on the Wails repo // 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) { func (g *GitHubHelper) GetVersionTags() ([]*SemanticVersion, error) {
result := []*SemanticVersion{} result := []*SemanticVersion{}

View File

@@ -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 { func (t *TemplateHelper) IsValidTemplate(templateName string) bool {
pathToTemplate := filepath.Join(t.templateDir.fullPath, templateName) pathToTemplate := filepath.Join(t.templateDir.fullPath, templateName)
return t.fs.DirExists(pathToTemplate) return t.fs.DirExists(pathToTemplate)