Skip to content

Commit

Permalink
VCI-128: Fix module manifest search
Browse files Browse the repository at this point in the history
  • Loading branch information
krankenbro committed Aug 20, 2021
1 parent 194ebd0 commit c220364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ public static int Main(string[] args)

protected AbsolutePath ModulesLocalDirectory => ArtifactsDirectory / ModulesJsonDirectoryName;
protected Project WebProject => Solution?.AllProjects.FirstOrDefault(x => x.Name.EndsWith(".Web") && !x.Path.ToString().Contains("samples") || x.Name.EndsWith("VirtoCommerce.Storefront") || x.Name.EndsWith("_build"));
protected AbsolutePath ModuleManifestFile => WebProject.Directory / "module.manifest";
protected AbsolutePath ModuleManifestFile => WebProject?.Directory / "module.manifest";
protected AbsolutePath ModuleIgnoreFile => RootDirectory / "module.ignore";

protected Microsoft.Build.Evaluation.Project MSBuildProject => WebProject?.GetMSBuildProject();
Expand Down

0 comments on commit c220364

Please sign in to comment.