Skip to content

Commit 2249041

Browse files
committed
re #630 - corrects issue verifying if any assembly info files have been specified on the command line
1 parent 5562db8 commit 2249041

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitVersionExe/AssemblyInfoFileUpdate.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public AssemblyInfoFileUpdate(Arguments args, string workingDirectory, VersionVa
4848

4949
static IEnumerable<string> GetAssemblyInfoFiles(string workingDirectory, Arguments args, IFileSystem fileSystem)
5050
{
51-
if (args.UpdateAssemblyInfoFileName != null && args.UpdateAssemblyInfoFileName.Any())
51+
if (args.UpdateAssemblyInfoFileName != null && args.UpdateAssemblyInfoFileName.Any(x => !string.IsNullOrWhiteSpace(x)))
5252
{
5353
foreach (var item in args.UpdateAssemblyInfoFileName)
5454
{

0 commit comments

Comments
 (0)