🐛 Fix(custom): fix an issue eslint not worked as expected

This commit is contained in:
Kuingsmile
2025-12-30 13:20:28 +08:00
parent 4fb5a26270
commit b53eccce13
185 changed files with 8014 additions and 7627 deletions

View File

@@ -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()