Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix the bug. Don't panic if there is an example file, just ignore it
  • Loading branch information
umbynos committed Jul 25, 2024
commit 5b01d7d77d83a5c27d45eeded3fc1c39266f2246
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