We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 095b0d6 commit dfbd387Copy full SHA for dfbd387
lib/resource-mapper.js
@@ -69,10 +69,10 @@ class ResourceMapper {
69
const folder = fullPath.substr(0, fullPath.length - filename.length)
70
71
// Find a file with the same name (minus the dollar extension)
72
- let match = searchIndex ? await this._getMatchingFile(folder, filename, isIndex) : '';
+ let match = searchIndex ? await this._getMatchingFile(folder, filename, isIndex) : ''
73
// Do not match with html if the content type won't allow it
74
if (!(contentType.includes('text/html') || contentType.includes('*/*'))) {
75
- match = '';
+ match = ''
76
}
77
if (match === undefined) {
78
// Error if no match was found,
0 commit comments