Skip to content

Commit

Permalink
updated resource folder name
Browse files Browse the repository at this point in the history
  • Loading branch information
Southclaws committed Mar 15, 2018
1 parent 538724e commit 731ad4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ func (res Resource) Validate() (err error) {
// Path returns a file path for a resource based on a hash of the label
// nolint
func (res Resource) Path(pkg Package) (path string) {
return filepath.Join("extracted-asset-resources", pkg.Repo+"-resource-"+fmt.Sprintf("%x", md5.Sum([]byte(res.Name))))
return filepath.Join("extracted-asset-resources", fmt.Sprintf("%s-%x", pkg.Repo, md5.Sum([]byte(res.Name))))
}

0 comments on commit 731ad4c

Please sign in to comment.