We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 689dc40 commit f4026faCopy full SHA for f4026fa
bin/util/index.js
@@ -1,8 +1,7 @@
1
const { Readable } = require('stream');
2
3
const isCommandline = (userAgent) => {
4
- const check = (userAgent.search(/curl|wget/i) !== -1);
5
- return check;
+ return (userAgent.search(/curl|wget/i) !== -1);
6
};
7
8
const getStream = (req, res) => {
0 commit comments