mirror of
https://github.com/taigrr/wails.git
synced 2026-04-05 06:32:42 -07:00
Compare commits
5 Commits
lint-fixes
...
linux-db
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c93d01f80f | ||
|
|
eca750e895 | ||
|
|
6b78cdd838 | ||
|
|
2a3cb35dc1 | ||
|
|
af6b631b7b |
@@ -18,7 +18,7 @@ func NewGitHubHelper() *GitHubHelper {
|
||||
}
|
||||
|
||||
// GetVersionTags gets the list of tags on the Wails repo
|
||||
// It returns a list of sorted tags in descending order
|
||||
// It retuns a list of sorted tags in descending order
|
||||
func (g *GitHubHelper) GetVersionTags() ([]*SemanticVersion, error) {
|
||||
|
||||
result := []*SemanticVersion{}
|
||||
|
||||
@@ -67,7 +67,7 @@ func NewTemplateHelper() *TemplateHelper {
|
||||
}
|
||||
}
|
||||
|
||||
// IsValidTemplate returns true if the given template name resides on disk
|
||||
// IsValidTemplate returns true if the given tempalte name resides on disk
|
||||
func (t *TemplateHelper) IsValidTemplate(templateName string) bool {
|
||||
pathToTemplate := filepath.Join(t.templateDir.fullPath, templateName)
|
||||
return t.fs.DirExists(pathToTemplate)
|
||||
|
||||
Reference in New Issue
Block a user