Skip to content

Commit 08e1266

Browse files
committed
gofmt
1 parent 20a1e12 commit 08e1266

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

daemon/internal/newrelic/integration/php_packages.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,10 +373,10 @@ func (pkgs *PhpPackagesCollection) GatherInstalledPackages() ([]PhpPackage, []st
373373
// The composer versioning standard is to not include any spaces
374374
// yet sometimes this standard is broken
375375
version_splits := strings.Split(version, " ")
376-
if (len(version_splits) > 1) {
376+
if len(version_splits) > 1 {
377377
notes = append(notes, fmt.Sprintf("Used shortened package version from composer. Originally was \"%s\"", version))
378378
version = version_splits[0]
379-
}
379+
}
380380

381381
pkgs.packages = append(pkgs.packages, PhpPackage{v.Name, version})
382382
//fmt.Printf(" -> %s in supported!\n", v.Name)

0 commit comments

Comments
 (0)