Skip to content

Commit 041c1c8

Browse files
committed
refactor: simplify for loop syntax in GetConfigFromProject function
1 parent 8108a69 commit 041c1c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/tool/project.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ func GetConfigFromProject(root string) (*ToolConfig, error) {
149149
return nil, err
150150
}
151151

152-
for bundlePath, _ := range rootComposerJsonData.Extra.Bundles {
152+
for bundlePath := range rootComposerJsonData.Extra.Bundles {
153153
sourceDirectories = append(sourceDirectories, path.Join(root, bundlePath))
154154

155155
expectedAdminPath := path.Join(root, bundlePath, "Resources", "app", "administration")

0 commit comments

Comments
 (0)