Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gfs authored Jul 28, 2021
1 parent 8bd0a9a commit 4799220
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public AnalyzeCommand(string path,
_crawlArchives = crawlArchives;
_disableParallel = disableParallel;
_exitCodeIsNumIssues = exitCodeIsNumIssues;
_globs = globOptions.Split(',').Select(x => new Glob(x));
_globs = globOptions?.Split(',').Select(x => new Glob(x)) ?? Array.Empty<Glob>();
}

public static void Configure(CommandLineApplication command)
Expand Down

0 comments on commit 4799220

Please sign in to comment.