File tree Expand file tree Collapse file tree
src/NuGet.Core/NuGet.Commands/RestoreCommand/ContentFiles Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ internal static List<LockFileContentFile> GetContentFileGroup(
119119 // When there are no wildcards and no exclude, use simple string comparison
120120 bool useSimpleMatch = ! ContainsGlobWildcards ( filesEntry . Include ) && filesEntry . Exclude == null ;
121121
122- Matcher ? matcher = null ;
122+ Matcher matcher = null ;
123123 if ( ! useSimpleMatch )
124124 {
125125 // Create a filesystem matcher for globbing patterns
@@ -160,7 +160,7 @@ internal static List<LockFileContentFile> GetContentFileGroup(
160160
161161 // Currently Matcher only returns the file name not the full path, each file must be
162162 // check individually.
163- var matchResults = matcher ! . Execute ( globbingDirectory ) ;
163+ var matchResults = matcher . Execute ( globbingDirectory ) ;
164164 isMatch = matchResults . HasMatches ;
165165 }
166166
You can’t perform that action at this time.
0 commit comments