@netlify/config 18.2.0 → 18.2.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/env/main.js +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/config",
3
- "version": "18.2.0",
3
+ "version": "18.2.1",
4
4
  "description": "Netlify config module",
5
5
  "type": "module",
6
6
  "exports": "./src/main.js",
package/src/env/main.js CHANGED
@@ -68,6 +68,10 @@ export const getEnv = async function ({
68
68
  }
69
69
 
70
70
  const convertToString = (value) => {
71
+ if (value === null || value === undefined) {
72
+ return value
73
+ }
74
+
71
75
  if (typeof value === 'string') {
72
76
  return value
73
77
  }