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:
parent
484faa0922
commit
95217035c9
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user