File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
- var program = require ( 'commander' ) ;
1
+ const { Command } = require ( 'commander' ) ;
2
+ const program = new Command ( ) ;
2
3
var shell = require ( "shelljs" ) ;
3
4
require ( "./deps" ) ;
4
5
program . description ( 'Customized pack iClient.' ) ;
Original file line number Diff line number Diff line change 71
71
"browserify-imgify" : " ^0.0.1" ,
72
72
"chromedriver" : " 87.0.5" ,
73
73
"clean-css-cli" : " ^4.3.0" ,
74
- "commander" : " ^6.1 .0" ,
74
+ "commander" : " ^9.0 .0" ,
75
75
"cross-env" : " ^7.0.2" ,
76
76
"css-loader" : " ^5.0.0" ,
77
77
"es3ify-loader" : " ^0.2.0" ,
Original file line number Diff line number Diff line change 1
1
// Karma configuration
2
2
// Generated on Fri Feb 17 2017 15:57:25 GMT+0800 (中国标准时间)
3
3
const fileUtil = require ( 'karma-sonarqube-unit-reporter/src/file-util.js' ) ;
4
- const program = require ( 'commander' ) ;
4
+ const { Command } = require ( 'commander' ) ;
5
+ const program = new Command ( ) ;
5
6
const testPath = [ './test' ] ;
6
7
const testFilePattern = 'Spec.js' ;
7
8
const filesForDescriptions = fileUtil . getFilesForDescriptions ( testPath , testFilePattern ) ;
You can’t perform that action at this time.
0 commit comments