File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -185,12 +185,14 @@ private void GenerateSourceFilesFromWebViews()
185
185
186
186
public DependencyManager ( string srcDir ) : this ( srcDir , DependencyOptions . Default , new ConsoleLogger ( Verbosity . Info ) ) { }
187
187
188
- private IEnumerable < string > GetFiles ( string pattern , bool recurseSubdirectories = true )
189
- {
190
- return sourceDir . GetFiles ( pattern , new EnumerationOptions { RecurseSubdirectories = recurseSubdirectories , MatchCasing = MatchCasing . CaseInsensitive } )
191
- . Select ( d => d . FullName )
192
- . Where ( d => ! options . ExcludesFile ( d ) ) ;
193
- }
188
+ private IEnumerable < string > GetFiles ( string pattern , bool recurseSubdirectories = true ) =>
189
+ sourceDir . GetFiles ( pattern , new EnumerationOptions
190
+ {
191
+ RecurseSubdirectories = recurseSubdirectories ,
192
+ MatchCasing = MatchCasing . CaseInsensitive
193
+ } )
194
+ . Where ( d => d . Extension != ".dll" && ! options . ExcludesFile ( d . FullName ) )
195
+ . Select ( d => d . FullName ) ;
194
196
195
197
/// <summary>
196
198
/// Computes a unique temp directory for the packages associated
You can’t perform that action at this time.
0 commit comments