Merge pull request #1673 from WatsonWeb/patch-1
Remove path.extname() check
This commit is contained in:
@@ -44,7 +44,6 @@ var assetsPluginProcessOutput = function (assets) {
|
||||
|
||||
for (name in assets) {
|
||||
if (assets.hasOwnProperty(name)) {
|
||||
if (path.extname(assets[name]) === '') {
|
||||
for (ext in assets[name]) {
|
||||
if (assets[name].hasOwnProperty(ext)) {
|
||||
filename = name + '.' + ext;
|
||||
@@ -53,7 +52,6 @@ var assetsPluginProcessOutput = function (assets) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return JSON.stringify(results);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user