Skip to content

Commit

Permalink
fix: don't pass .env envs
Browse files Browse the repository at this point in the history
  • Loading branch information
erezrokah committed Nov 3, 2020
1 parent f916175 commit 1556c56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ const { getSiteInformation } = require('../utils/dev')
const getBuildEnv = async ({ context }) => {
const { warn, error, netlify } = context
const { site, api } = netlify
const { teamEnv, addonsEnv, siteEnv, dotFilesEnv } = await getSiteInformation({
const { teamEnv, addonsEnv, siteEnv } = await getSiteInformation({
api,
site,
warn,
error,
})
const env = { ...teamEnv, ...addonsEnv, ...siteEnv, ...dotFilesEnv }
const env = { ...teamEnv, ...addonsEnv, ...siteEnv }
return env
}

Expand Down

0 comments on commit 1556c56

Please sign in to comment.