mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
all: Run modernize -fix ./...
This commit is contained in:
+1
-1
@@ -615,7 +615,7 @@ func (c *Client) writeHugoDirectSum(mods Modules) error {
|
||||
continue
|
||||
}
|
||||
if m.IsGoMod() && m.VersionQuery() != "" {
|
||||
sums = append(sums, modSum{pathVersionKey: pathVersionKey{path: m.Path(), version: m.Version()}, sum: m.Sum()})
|
||||
sums = append(sums, modSum{path: m.Path(), version: m.Version(), sum: m.Sum()})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user