mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fixed non existing file crashing
This commit is contained in:
@ -119,7 +119,7 @@ namespace Wabbajack.Common
|
||||
}
|
||||
}
|
||||
|
||||
public long Size => new FileInfo(_path).Length;
|
||||
public long Size => Exists ? new FileInfo(_path).Length : 0;
|
||||
|
||||
public DateTime LastModified
|
||||
{
|
||||
|
Reference in New Issue
Block a user