Skip to content

Commit

Permalink
fix the bug. Don't panic if there is an example file, just ignore it
Browse files Browse the repository at this point in the history
  • Loading branch information
umbynos committed Jul 25, 2024
1 parent 42d1102 commit 5b01d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/project/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func findSubprojects(superproject Type, apexSuperprojectType projecttype.Type) [
var immediateSubprojects []Type
for _, subprojectsFolderName := range subprojectsFolderNames {
subprojectsPath := superproject.Path.Join(subprojectsFolderName)
if subprojectsPath.Exist() {
if subprojectsPath.Exist() && subprojectsPath.IsDir() {
directoryListing, err := subprojectsPath.ReadDir()
if err != nil {
panic(err)
Expand Down

0 comments on commit 5b01d7d

Please sign in to comment.