@netlify/config 21.0.3 → 21.0.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.
- package/lib/main.js +4 -0
- package/package.json +2 -2
package/lib/main.js
CHANGED
|
@@ -40,6 +40,10 @@ export const resolveConfig = async function (opts) {
|
|
|
40
40
|
let { siteInfo, accounts, addons, integrations } = parsedCachedConfig || {};
|
|
41
41
|
// If we have cached site info, we don't need to fetch it again
|
|
42
42
|
const useCachedSiteInfo = Boolean(featureFlags?.use_cached_site_info && siteInfo && accounts && addons && integrations);
|
|
43
|
+
// I'm adding some debug logging to see if the logic is working as expected
|
|
44
|
+
if (featureFlags?.use_cached_site_info_logging) {
|
|
45
|
+
console.log('Checking site information', { useCachedSiteInfo, siteInfo, accounts, addons, integrations });
|
|
46
|
+
}
|
|
43
47
|
if (!useCachedSiteInfo) {
|
|
44
48
|
const updatedSiteInfo = await getSiteInfo({
|
|
45
49
|
api,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netlify/config",
|
|
3
|
-
"version": "21.0.
|
|
3
|
+
"version": "21.0.4",
|
|
4
4
|
"description": "Netlify config module",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./lib/index.js",
|
|
@@ -95,5 +95,5 @@
|
|
|
95
95
|
"engines": {
|
|
96
96
|
"node": "^14.16.0 || >=16.0.0"
|
|
97
97
|
},
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "61c3b009c7b1e16b32e06e1f783a5717106bae10"
|
|
99
99
|
}
|