Behavior optimized when resources are missing
This commit is contained in:
parent
c9148c5cdd
commit
58fc32f2e6
|
@ -139,6 +139,9 @@ requestAnalyzer._findLocalTarget = function (resourceMappings, basePath, channel
|
||||||
} else {
|
} else {
|
||||||
resourcePattern = resourcePath.replace(versionNumber, Resource.VERSION_PLACEHOLDER);
|
resourcePattern = resourcePath.replace(versionNumber, Resource.VERSION_PLACEHOLDER);
|
||||||
}
|
}
|
||||||
|
if (resourcePattern === undefined) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
shorthandResource = shorthands.specialFiles(channelHost, channelPath, destinationSearchString);
|
shorthandResource = shorthands.specialFiles(channelHost, channelPath, destinationSearchString);
|
||||||
if (shorthandResource) {
|
if (shorthandResource) {
|
||||||
|
|
Loading…
Reference in New Issue