Skip to content

Commit 05186bf

Browse files
gkelloggdavidlehn
andcommitted
Update lib/context.js
Co-Authored-By: David I. Lehn <dil@lehn.org>
1 parent 0d8b751 commit 05186bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/context.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ api.process = async ({
305305

306306
// merge ctx into importCtx and replace rval with the result
307307
for(const key in importCtx) {
308-
if(!(key in ctx)) {
308+
if(!ctx.hasOwnProperty(key)) {
309309
ctx[key] = importCtx[key];
310310
}
311311
}

0 commit comments

Comments
 (0)