* format fix for isprematureclose * white space? GitOrigin-RevId: eb6a02eeb6186a130ed7b7b0233256e1d7dde805
@@ -596,12 +596,11 @@ async function getChanges(req, res, next) {
}
function isPrematureClose(err) {
-
return (
err instanceof Error &&
'code' in err &&
- (err.code === 'ERR_STREAM_PREMATURE_CLOSE' ||
- err.code === 'ERR_STREAM_UNABLE_TO_PIPE')
+ (err.code === 'ERR_STREAM_PREMATURE_CLOSE' ||
+ err.code === 'ERR_STREAM_UNABLE_TO_PIPE')
)