Skip to content

Commit d7e81d3

Browse files
committed
fix
1 parent 8af1dc4 commit d7e81d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compose.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1828,7 +1828,7 @@ export const composeHandler = ({
18281828

18291829
reporter.resolve()
18301830

1831-
fnLiteral += `r=c.response\n`
1831+
if (hooks.afterHandle?.length) fnLiteral += `r=c.response\n`
18321832

18331833
if (validator.response) fnLiteral += validation.response()
18341834

0 commit comments

Comments
 (0)