Skip to content

Commit fb9f2f7

Browse files
committed
Format with new csharpier settings
1 parent 6dcda82 commit fb9f2f7

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/Machine/src/Serval.Machine.Shared/Services/PreprocessBuildJob.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154,12 +154,12 @@ IReadOnlyList<ParallelCorpus> corpora
154154
warnings.Add(
155155
error.Type switch
156156
{
157-
UsfmVersificationErrorType.InvalidChapterNumber
158-
=> $"Invalid chapter number error in project {error.ProjectName} at “{error.ActualVerseRef}” (parallel corpus {parallelCorpus.Id}, monolingual corpus {monolingualCorpusId})",
159-
UsfmVersificationErrorType.InvalidVerseNumber
160-
=> $"Invalid verse number error in project {error.ProjectName} at “{error.ActualVerseRef}” (parallel corpus {parallelCorpus.Id}, monolingual corpus {monolingualCorpusId})",
161-
_
162-
=> $"USFM versification error in project {error.ProjectName}, expected verse “{error.ExpectedVerseRef}”, actual verse “{error.ActualVerseRef}”, mismatch type {error.Type} (parallel corpus {parallelCorpus.Id}, monolingual corpus {monolingualCorpusId})",
157+
UsfmVersificationErrorType.InvalidChapterNumber =>
158+
$"Invalid chapter number error in project {error.ProjectName} at “{error.ActualVerseRef}” (parallel corpus {parallelCorpus.Id}, monolingual corpus {monolingualCorpusId})",
159+
UsfmVersificationErrorType.InvalidVerseNumber =>
160+
$"Invalid verse number error in project {error.ProjectName} at “{error.ActualVerseRef}” (parallel corpus {parallelCorpus.Id}, monolingual corpus {monolingualCorpusId})",
161+
_ =>
162+
$"USFM versification error in project {error.ProjectName}, expected verse “{error.ExpectedVerseRef}”, actual verse “{error.ActualVerseRef}”, mismatch type {error.Type} (parallel corpus {parallelCorpus.Id}, monolingual corpus {monolingualCorpusId})",
163163
}
164164
);
165165
}

0 commit comments

Comments
 (0)