Skip to content

Commit 6e35804

Browse files
committed
Fixed issue causing delete files list to have duplicate entries.
1 parent ddc03c7 commit 6e35804

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/SparkDevNetwork.Rock.DevTool/DevEnvironment/PluginPackager.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,10 @@ private static List<string> GetDeletedFiles( PluginData plugin, PluginLockData p
423423
deletedFiles.AddRange( previousFilesToDelete );
424424
}
425425

426-
return deletedFiles.OrderBy( f => f ).ToList();
426+
return deletedFiles
427+
.Distinct()
428+
.OrderBy( f => f )
429+
.ToList();
427430
}
428431

429432
/// <summary>

0 commit comments

Comments
 (0)