Merge pull request #6 from mattn/fix-typo

fix typos
This commit is contained in:
kaiji
2023-08-22 09:39:16 +09:00
committed by GitHub

View File

@@ -19,8 +19,8 @@ import (
)
func pathToKind(path string) (int, error) {
splittedPath := strings.Split(path, ".")
ex := splittedPath[len(splittedPath)-1]
separatedPath := strings.Split(path, ".")
ex := separatedPath[len(separatedPath)-1]
switch ex {
case "html":
return consts.KindWebhostHTML, nil