Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ScriptureRenderingPipelineWorker/MergeHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@
private static string BuildWriterUSFMFileName(string bookCode)
{
var bookIndex = Utils.GetBookNumber(bookCode);
return $"{(bookIndex == 0 ? "" : $"{bookIndex}-")}{bookCode.ToUpper()}.usfm";
return $"{(bookIndex == 0 ? "" : $"{bookIndex:D2}-")}{bookCode.ToUpper()}.usfm";
}

private async Task<int> UploadContentToNewRepo(string user, string repoName, Dictionary<string,string> content)
Expand Down Expand Up @@ -467,10 +467,10 @@
}
internal class ContentForBurrito
{
public string Path { get; set; }

Check warning on line 470 in ScriptureRenderingPipelineWorker/MergeHandler.cs

View workflow job for this annotation

GitHub Actions / build-and-test

Non-nullable property 'Path' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
public string BookCode { get; set; }

Check warning on line 471 in ScriptureRenderingPipelineWorker/MergeHandler.cs

View workflow job for this annotation

GitHub Actions / build-and-test

Non-nullable property 'BookCode' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
public string MD5Hash { get; set; }

Check warning on line 472 in ScriptureRenderingPipelineWorker/MergeHandler.cs

View workflow job for this annotation

GitHub Actions / build-and-test

Non-nullable property 'MD5Hash' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
public uint Size { get; set; }
public string BookName { get; set; }

Check warning on line 474 in ScriptureRenderingPipelineWorker/MergeHandler.cs

View workflow job for this annotation

GitHub Actions / build-and-test

Non-nullable property 'BookName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
public string BookLongName { get; set; }

Check warning on line 475 in ScriptureRenderingPipelineWorker/MergeHandler.cs

View workflow job for this annotation

GitHub Actions / build-and-test

Non-nullable property 'BookLongName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
}
Loading