We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 933e473 commit a8819e9Copy full SHA for a8819e9
src/StaticWebAssetsSdk/Tasks/DefineStaticWebAssets.cs
@@ -84,7 +84,7 @@ public override bool Execute()
84
{
85
var candidateMatchPath = GetDiscoveryCandidateMatchPath(candidate);
86
relativePathCandidate = candidateMatchPath;
87
- if (string.IsNullOrEmpty(candidate.GetMetadata("RelativePath")))
+ if (matcher != null && string.IsNullOrEmpty(candidate.GetMetadata("RelativePath")))
88
89
var match = matcher.Match(candidateMatchPath);
90
if (!match.HasMatches)
0 commit comments