Skip to content

Commit

Permalink
fix: ignore empty directories in Packages/
Browse files Browse the repository at this point in the history
  • Loading branch information
mob-sakai committed Aug 28, 2020
1 parent 5485ff9 commit abb0c9f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ public static PackageMeta FromPackageJson(string filePath)
public static PackageMeta FromPackageDir(string dir)
{
var package = FromPackageJson(dir + "/package.json");
if (package == null) return null;

package.SetVersion(package.revision);
return package;
}
Expand Down

0 comments on commit abb0c9f

Please sign in to comment.