Skip to content

Commit

Permalink
don't await server stop.
Browse files Browse the repository at this point in the history
  • Loading branch information
Heyrows committed Aug 11, 2021
1 parent 2340d22 commit 9fe06a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/prismic-cli/src/utils/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const authenticationHandler = (server: hapi.Server) => (cb: (data: HandlerData)
await cb(data)
return h.response(data).code(200)
} finally {
await server.stop({timeout: 10000})
server.stop({timeout: 10000})
}
}
}
Expand Down

0 comments on commit 9fe06a5

Please sign in to comment.