Merge pull request #1673 from WatsonWeb/patch-1

Remove path.extname() check
This commit is contained in:
Ben Word
2016-07-20 20:16:50 -06:00
committed by GitHub

View File

@@ -44,7 +44,6 @@ var assetsPluginProcessOutput = function (assets) {
for (name in assets) { for (name in assets) {
if (assets.hasOwnProperty(name)) { if (assets.hasOwnProperty(name)) {
if (path.extname(assets[name]) === '') {
for (ext in assets[name]) { for (ext in assets[name]) {
if (assets[name].hasOwnProperty(ext)) { if (assets[name].hasOwnProperty(ext)) {
filename = name + '.' + ext; filename = name + '.' + ext;
@@ -53,7 +52,6 @@ var assetsPluginProcessOutput = function (assets) {
} }
} }
} }
}
return JSON.stringify(results); return JSON.stringify(results);
} }