fix spelling (#551)
This commit is contained in:
@@ -16,7 +16,7 @@ import (
|
||||
|
||||
const templateParentPath = "/"
|
||||
|
||||
// GenTemplates wtites the latest template text into file which is not exists
|
||||
// GenTemplates writes the latest template text into file which is not exists
|
||||
func GenTemplates(ctx *cli.Context) error {
|
||||
if err := errorx.Chain(
|
||||
func() error {
|
||||
@@ -70,8 +70,8 @@ func CleanTemplates(_ *cli.Context) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// UpdateTemplates wtites the latest template text into file,
|
||||
// it will delete the oldler templates if there are exists
|
||||
// UpdateTemplates writes the latest template text into file,
|
||||
// it will delete the older templates if there are exists
|
||||
func UpdateTemplates(ctx *cli.Context) (err error) {
|
||||
category := ctx.String("category")
|
||||
defer func() {
|
||||
|
||||
Reference in New Issue
Block a user