Committed by jr
This commit is contained in:
@@ -40,7 +40,7 @@ namespace OneDriveArchiver
|
||||
|
||||
// check if we have to create either year or month folder...
|
||||
// start with parent year folder...
|
||||
var fullYearFolderPath = Path.Combine(basePath, fileYear);
|
||||
var fullYearFolderPath = Path.Combine(basePath ?? throw new InvalidOperationException(), fileYear);
|
||||
var fullMonthFolderPath = Path.Combine(Path.Combine(basePath, fileYear), fileMonth);
|
||||
if (!Directory.Exists(fullYearFolderPath))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user