Skip to content

Commit 3b6abf8

Browse files
committed
Fix error with deleting directories while processing diff
1 parent 5062ab9 commit 3b6abf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Assets/Scripts/Data/Storage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public virtual bool IsDirectoryEmpty(string dirName)
4848
{
4949
string dirPath = GetEntryPath(dirName);
5050

51-
if (!Directory.Exists(dirName))
51+
if (!Directory.Exists(dirPath))
5252
{
5353
throw new ArgumentException(string.Format("Directory doesn't exist <{0}>", dirPath), "dirName");
5454
}

0 commit comments

Comments
 (0)