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 @@ -46,9 +46,7 @@ process.on('unhandledRejection', errorHandler);
46
46
* @returns {never }
47
47
*/
48
48
function errorHandler ( err ) {
49
- // eslint unicorn/no-useless-undefined: ["warn", {"checkArguments": false}] -- Bad TS type.
50
- // eslint-disable-next-line unicorn/no-useless-undefined -- Above doesn't work?
51
- Spinner . fail ( undefined ) ;
49
+ Spinner . fail ( ) ;
52
50
let userSrc = null ;
53
51
try {
54
52
userSrc = options . userSrc ( ) ;
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ function succeedAndNowDo(text) {
59
59
/**
60
60
* Fails the current task and replaces its text with the given text.
61
61
*
62
- * @param {string | undefined } text
62
+ * @param {string | undefined } [ text]
63
63
* @returns {void }
64
64
*/
65
65
function fail ( text ) {
You can’t perform that action at this time.
0 commit comments