mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
refactor(archival): ♻ use PascalCase in logger props
This commit is contained in:
parent
4e4b2d0bf7
commit
82d46c4518
1 changed files with 3 additions and 3 deletions
|
|
@ -32,13 +32,13 @@ public async Task ArchiveFileAsync(
|
|||
string filePath,
|
||||
CancellationToken cancellationToken = default)
|
||||
{
|
||||
_logger.LogDebug("Writing {filePath}", filePath);
|
||||
_logger.LogDebug("Writing {FilePath}", filePath);
|
||||
|
||||
_filePaths.Add(filePath);
|
||||
await using var output = File.OpenWrite(filePath);
|
||||
await fileContents.CopyToAsync(output, cancellationToken);
|
||||
|
||||
_logger.LogDebug("Finished writing {filePath}", filePath);
|
||||
_logger.LogDebug("Finished writing {FilePath}", filePath);
|
||||
}
|
||||
|
||||
public void Commit()
|
||||
|
|
@ -48,7 +48,7 @@ public void Commit()
|
|||
var message = $"feat(archives): archive {_filePaths.Count} files{Environment.NewLine}{string.Join(Environment.NewLine, _filePaths)}";
|
||||
_repository.Commit(message, signature, signature);
|
||||
|
||||
_logger.LogDebug("Committed {@filePaths}", _filePaths);
|
||||
_logger.LogDebug("Committed {@FilePaths}", _filePaths);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
|
|
|
|||
Loading…
Reference in a new issue