File tree Expand file tree Collapse file tree 3 files changed +12
-11
lines changed Expand file tree Collapse file tree 3 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -12,17 +12,18 @@ class LoggerWithoutTimestamp {
1212 constructor ( ) {
1313 this . prefix = cluster . isMaster ? 'master' : 'worker' ;
1414 }
15- writeLine ( ) {
16- this . _write ( 'info' , Array . prototype . slice . apply ( arguments ) ) ;
15+
16+ writeLine ( ...args ) {
17+ this . _write ( 'info' , args ) ;
1718 }
1819
19- writeError ( ) {
20- this . _write ( 'error' , Array . prototype . slice . apply ( arguments ) ) ;
20+ writeError ( ... args ) {
21+ this . _write ( 'error' , args ) ;
2122 }
2223
2324 _write ( level , args ) {
2425 args [ 0 ] = `[${ level } ][${ this . prefix } ] ${ args [ 0 ] } ` ;
25- console . log . apply ( console , args ) ;
26+ console . log ( ... args ) ;
2627 }
2728}
2829
Original file line number Diff line number Diff line change 115115 "eslint-plugin-ember-concurrency" : " 0.3.1" ,
116116 "eslint-plugin-import-helpers" : " 1.1.0" ,
117117 "eslint-plugin-prettier" : " 3.4.0" ,
118- "eslint-plugin-unicorn" : " 32 .0.1" ,
118+ "eslint-plugin-unicorn" : " 33 .0.1" ,
119119 "loader.js" : " 4.7.0" ,
120120 "match-json" : " 1.3.3" ,
121121 "normalize.css" : " 8.0.1" ,
Original file line number Diff line number Diff line change 76077607 dependencies:
76087608 prettier-linter-helpers "^1.0.0"
76097609
7610- eslint-plugin-unicorn@32 .0.1:
7611- version "32 .0.1"
7612- resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-32 .0.1.tgz#a7cb9f538441b78936a96261eea4392d76526d77 "
7613- integrity sha512-LaZ9utnXtOJjnoDkpm+nQsONUUmyRR0WD6PGROSdQRRW3LRmgK/ZP8wxjW+Ai+2uolKTtuJzLx2mvbIeIoLqpg ==
7610+ eslint-plugin-unicorn@33 .0.1:
7611+ version "33 .0.1"
7612+ resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-33 .0.1.tgz#15c7d210aad77466acb1e899b06b070099e029ce "
7613+ integrity sha512-VxX/L/9DUEyB3D0v00185LrgsB5/fBwkgA4IC7ehHRu5hFSgA6VecmdpFybhsr4GQ/Y1iyXMHf6q+JKvcR2MwA ==
76147614 dependencies:
76157615 ci-info "^3.1.1"
76167616 clean-regexp "^1.0.0"
76177617 eslint-template-visitor "^2.3.2"
7618- eslint-utils "^2.1 .0"
7618+ eslint-utils "^3.0 .0"
76197619 import-modules "^2.1.0"
76207620 is-builtin-module "^3.1.0"
76217621 lodash "^4.17.21"
You can’t perform that action at this time.
0 commit comments