Skip to content

Commit

Permalink
Fix it again
Browse files Browse the repository at this point in the history
  • Loading branch information
dellis1972 committed Mar 19, 2020
1 parent 8ae9d3e commit 922bd62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Xamarin.Android.Build.Tasks/Tasks/Aapt2Compile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ void ProcessDirectory (ITaskItem item, object lockObject)
}

string fileOrDirectory = item.GetMetadata ("ResourceDirectory");
if (string.IsNullOrEmpty (fileOrDirectory))
if (string.IsNullOrEmpty (fileOrDirectory) || !isDirectory)
fileOrDirectory = item.ItemSpec;
if (isDirectory && !Directory.EnumerateDirectories (fileOrDirectory).Any ())
return;
Expand Down

0 comments on commit 922bd62

Please sign in to comment.