Skip to content

Commit f4026fa

Browse files
committed
One line return
1 parent 689dc40 commit f4026fa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bin/util/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
const { Readable } = require('stream');
22

33
const isCommandline = (userAgent) => {
4-
const check = (userAgent.search(/curl|wget/i) !== -1);
5-
return check;
4+
return (userAgent.search(/curl|wget/i) !== -1);
65
};
76

87
const getStream = (req, res) => {

0 commit comments

Comments
 (0)