From d50fe7d0d554f30e0bfc99aeb8b23b19492af095 Mon Sep 17 00:00:00 2001 From: MIRIMIRIM <59959583+MIRIMIRIM@users.noreply.github.com> Date: Mon, 24 Jun 2024 12:18:41 +0800 Subject: [PATCH] Ikkoku/MergeGitDiff: warning when not find target files --- Ikkoku/src/SubtileProcess/MergeGitDiff.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Ikkoku/src/SubtileProcess/MergeGitDiff.cs b/Ikkoku/src/SubtileProcess/MergeGitDiff.cs index 03264fe..a147162 100644 --- a/Ikkoku/src/SubtileProcess/MergeGitDiff.cs +++ b/Ikkoku/src/SubtileProcess/MergeGitDiff.cs @@ -57,7 +57,9 @@ public static void MergeGitDiffToCht(string repoLocalPath, string startCommitId, if (!File.Exists(targetFileFull)) { - throw new Exception("Please check " + targetSuffix + ", not found " + targetFileFull); + Console.WriteLine("Warning: not found " + targetFile); + //throw new Exception("Please check " + targetSuffix + ", not found " + targetFileFull); + continue; } if (CompareLinesNumber(sourceFileFull, targetFileFull) != 0)