Skip to content

Commit

Permalink
Merge branch 'main' into renovate/tester-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
sounisi5011 authored Dec 9, 2021
2 parents fa2ef04 + 77af985 commit a874646
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/cli/run-if-supported/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function createHelpText(opts: {
helpTextLines.push([
'Examples:',
` $ ${opts.binName} jest`,
` $ ${opts.binName} jest --verbose`,
` $ ${opts.binName} --verbose jest`,
]);
}
return helpTextLines.map(lines => lines.join('\n')).join('\n\n');
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/run-if-supported/tests/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe('cli', () => {
'',
'Examples:',
` $ ${binName} jest`,
` $ ${binName} jest --verbose`,
` $ ${binName} --verbose jest`,
].join('\n'),
stderr: '',
}));
Expand Down
5 changes: 4 additions & 1 deletion packages/encrypted-archive/src/utils/stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@ export function writeFromIterableToStream<TStream extends stream.Writable>(
* @see https://github.com/nodejs/node/blob/v14.17.0/lib/internal/streams/destroy.js#L178-L183
* @see https://github.com/nodejs/node/blob/v15.14.0/lib/internal/streams/destroy.js#L362-L367
* @see https://github.com/nodejs/node/blob/v16.1.0/lib/internal/streams/destroy.js#L367-L372
*
* Note: We should probably verify that error is an instance of the Error object,
* but the Node.js source code doesn't do that check.
*/
stream.destroy(error);
stream.destroy(error as Error);
}
})();
return stream;
Expand Down
6 changes: 1 addition & 5 deletions packages/encrypted-archive/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
"types": [],

/* Emit */
"noEmit": true,

/* Type Checking */
/** @todo Comment out when this package is fixed */
"useUnknownInCatchVariables": false
"noEmit": true
}
}

0 comments on commit a874646

Please sign in to comment.