mirror of
https://github.com/tmedwards/tweego.git
synced 2025-07-04 13:47:03 -04:00
[Update] Remove redundant variable.
This commit is contained in:
parent
07de47c9bf
commit
59bf950d98
1 changed files with 1 additions and 2 deletions
|
@ -98,8 +98,7 @@ func loadModuleFont(filename string) ([]byte, error) {
|
|||
}
|
||||
|
||||
var (
|
||||
name = filepath.Base(filename)
|
||||
family = strings.Split(name, ".")[0]
|
||||
family = strings.Split(filepath.Base(filename), ".")[0]
|
||||
idSlug = "style-module-" + slugify(family)
|
||||
ext = normalizedFileExt(filename)
|
||||
mediaType = mediaTypeFromExt(ext)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue