diff options
author | Ruben Rodriguez <ruben@fsf.org> | 2019-04-29 17:55:18 -0400 |
---|---|---|
committer | Ruben Rodriguez <ruben@fsf.org> | 2019-04-29 17:55:18 -0400 |
commit | ef4efa91207e1ad42b4a0bf1d54a14e5c1bea298 (patch) | |
tree | 5d67683fdf4f6e2de356bfcb6096820cd380b143 /bg/ResponseProcessor.js | |
parent | c6fafeed2ace4abd083b8e33d0846987dc9333fc (diff) | |
parent | b4ab7ef958d7d3d0761650b1404bf286d05f26cd (diff) |
Merge branch 'master' of ssh://pagure.io/librejs
Diffstat (limited to 'bg/ResponseProcessor.js')
-rw-r--r-- | bg/ResponseProcessor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bg/ResponseProcessor.js b/bg/ResponseProcessor.js index 1aa89de..2c613c9 100644 --- a/bg/ResponseProcessor.js +++ b/bg/ResponseProcessor.js @@ -78,7 +78,7 @@ class ResponseTextFilter { let res = await handler.pre(response); if (res) return res; if (handler.post) handler = handler.post; - if (typeof handler !== "function") ResponseProcessor.ACCEPT; + if (typeof handler !== "function") return ResponseProcessor.ACCEPT; } let {requestId, responseHeaders} = request; |