Add resource only when it is not already present (#3842)

This commit is contained in:
Alekhya 2020-06-01 08:17:28 -07:00 committed by GitHub
parent 8cc58d0b89
commit d2dfbff832
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -449,6 +449,10 @@ namespace Microsoft.Plugin.Program.Programs
{
parsed = prefix + "//" + key;
}
else if (key.Contains("resources", StringComparison.OrdinalIgnoreCase))
{
parsed = prefix + key;
}
else
{
parsed = prefix + "///resources/" + key;