File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1212 "app-root-path" : " ^2.2.1" ,
1313 "cheerio" : " ^1.0.0-rc.2" ,
1414 "clean-css" : " ^4.2.1" ,
15- "glob" : " ^7.1.3" ,
16- "merge" : " ^1.2.1"
15+ "glob" : " ^7.1.3"
1716 },
1817 "directories" : {
1918 "test" : " test"
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ const cheerio = require('cheerio');
22const fs = require ( 'fs' ) ;
33const path = require ( 'path' ) ;
44const glob = require ( 'glob' ) ;
5- const merge = require ( 'merge' ) ;
65const cleanCSS = require ( 'clean-css' ) ;
76var appRoot = require ( 'app-root-path' ) ;
87
@@ -28,7 +27,7 @@ module.exports = function (options) {
2827
2928 let appRootPath = appRoot . path ;
3029
31- let opts = merge ( defaultOpts , options ) ;
30+ let opts = Object . assign ( defaultOpts , options ) ;
3231 let root = path . resolve ( appRootPath , opts . coverageDir ) ;
3332 let globPattern = root + opts . pattern ;
3433 // console.log(globPattern);
You can’t perform that action at this time.
0 commit comments