From dfe036520cc183b507cacb7098ccc70217d2a05d Mon Sep 17 00:00:00 2001 From: Jason Barry Date: Wed, 17 Aug 2022 17:25:37 -0700 Subject: [PATCH] fix: incorrect destructuring (#4969) --- src/commands/build/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/build/build.js b/src/commands/build/build.js index 14974c41d29..be56655c576 100644 --- a/src/commands/build/build.js +++ b/src/commands/build/build.js @@ -68,7 +68,7 @@ const build = async (options, command) => { if (!options.offline) { checkOptions(buildOptions) const { api, site } = command.netlify - const context = { options } + const { context } = options await injectEnv(command, { api, buildOptions, context, site, siteInfo }) }