Skip to content

Commit dd442ff

Browse files
committed
fix(XMLDiff, XMLPatch): result folder will be created in recursive processing too (as for the single file) Resolves #21
1 parent c0d489d commit dd442ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

XMLDiff/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ private static void RunOptionsAndReturnExitCode(Options opts)
4646
bool diffIsDir = Directory.Exists(diffXmlPath);
4747

4848
XmlReaderSettings? diffReaderSettings = CreateXmlReaderSettings(diffXsdPath!);
49-
if (originalIsDir && modifiedIsDir && diffIsDir)
49+
if (originalIsDir && modifiedIsDir)
5050
{
5151
Logger.Info("Processing directories recursively.");
5252
if (originalXmlPath != null && modifiedXmlPath != null && diffXmlPath != null)

XMLPatch/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ private void RunOptionsAndReturnExitCode(Options opts)
5050
bool outputIsDir = Directory.Exists(outputXmlPath);
5151

5252
XmlReaderSettings? diffReaderSettings = CreateXmlReaderSettings(diffXsdPath!);
53-
if (originalIsDir && diffIsDir && outputIsDir)
53+
if (originalIsDir && diffIsDir)
5454
{
5555
Logger.Info("Processing directories recursively.");
5656
if (originalXmlPath != null && diffXmlPath != null && outputXmlPath != null)

0 commit comments

Comments
 (0)