added hasOwnProperty check to avoid warnings
This commit is contained in:
@@ -114,9 +114,11 @@ exports.minify = function(files, options) {
|
||||
});
|
||||
if (options.sourceMapIncludeSources) {
|
||||
for (var file in sourcesContent) {
|
||||
if (sourcesContent.hasOwnProperty(file)) {
|
||||
options.source_map.get().setSourceContent(file, sourcesContent[file]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
if (options.output) {
|
||||
|
||||
Reference in New Issue
Block a user