Skip to content

Commit

Permalink
[Changed] Dotnet projects only detected if csproj is at root level
Browse files Browse the repository at this point in the history
Signed-off-by: Debbie Chen <dechen@pivotal.io>
  • Loading branch information
xtreme-shane-lattanzio authored and xtreme-debbie-chen committed Aug 12, 2019
1 parent add7be9 commit b9f810d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/license_finder/package_managers/dotnet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def ==(other)
end

def possible_package_paths
paths = Dir[project_path.join('**/*.csproj')]
paths = Dir[project_path.join('*.csproj')]
paths.map { |p| Pathname(p) }
end

Expand Down

0 comments on commit b9f810d

Please sign in to comment.