@netlify/config 20.6.3 → 20.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,9 +10,9 @@ import { ERROR_CALL_TO_ACTION } from '../log/messages.js';
10
10
  // Silently ignore API errors. For example the network connection might be down,
11
11
  // but local builds should still work regardless.
12
12
  export const getSiteInfo = async function ({ api, siteId, mode, siteFeatureFlagPrefix, featureFlags = {}, testOpts = {}, }) {
13
- const { env: testEnv = true } = testOpts;
13
+ const { env: testEnv = false } = testOpts;
14
14
  const fetchIntegrations = featureFlags.buildbot_fetch_integrations;
15
- if (api === undefined || mode === 'buildbot' || !testEnv) {
15
+ if (api === undefined || mode === 'buildbot' || testEnv) {
16
16
  const siteInfo = siteId === undefined ? {} : { id: siteId };
17
17
  let integrations = [];
18
18
  if (fetchIntegrations && api !== undefined && !testEnv) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/config",
3
- "version": "20.6.3",
3
+ "version": "20.6.4",
4
4
  "description": "Netlify config module",
5
5
  "type": "module",
6
6
  "exports": "./lib/index.js",
@@ -94,5 +94,5 @@
94
94
  "engines": {
95
95
  "node": "^14.16.0 || >=16.0.0"
96
96
  },
97
- "gitHead": "28f104de3b83def70a633289c72c70c9c7360ce0"
97
+ "gitHead": "5e684d0509bb094d0e11ff89559abf7eb2d806fc"
98
98
  }