Skip to content

Commit 9f62980

Browse files
committed
linting
1 parent f897b27 commit 9f62980

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev-tools/mage/pkgtypes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@ func runFPM(spec PackageSpec, packageType PackageType) error {
817817
args = append(args, "--vendor", spec.Vendor)
818818
}
819819
if spec.License != "" {
820-
args = append(args, "--license", strings.Replace(spec.License, " ", "-", -1))
820+
args = append(args, "--license", strings.ReplaceAll(spec.License, " ", "-"))
821821
}
822822
if spec.Description != "" {
823823
args = append(args, "--description", spec.Description)

0 commit comments

Comments
 (0)