mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-06-04 23:30:22 +08:00
🐛 Fix(custom): fix an issue eslint not worked as expected
This commit is contained in:
@@ -42,8 +42,8 @@ function bootstrapEPIPESuppression() {
|
||||
bootstrapEPIPESuppression()
|
||||
|
||||
function epipeBomb(stream: any, callback: any) {
|
||||
if (stream == null) stream = process.stdout
|
||||
if (callback == null) callback = process.exit
|
||||
if (stream === null) stream = process.stdout
|
||||
if (callback === null) callback = process.exit
|
||||
|
||||
function epipeFilter(err: any) {
|
||||
if (err.code === 'EPIPE') return callback()
|
||||
|
||||
Reference in New Issue
Block a user