We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0478801 commit 1ebcc1fCopy full SHA for 1ebcc1f
lib/context.js
@@ -80,7 +80,7 @@ api.process = async ({
80
// store original options to use when replaying events
81
const originalOptions = options;
82
// shallow clone options with custom event handler
83
- options = Object.assign({}, options, {eventHandler});
+ options = {...options, eventHandler};
84
85
// resolve contexts
86
const resolved = await options.contextResolver.resolve({
0 commit comments