diff --git a/deploy/fnDeploy.js b/deploy/fnDeploy.js index 48689f7..51d1bc9 100644 --- a/deploy/fnDeploy.js +++ b/deploy/fnDeploy.js @@ -238,7 +238,7 @@ class FNDeploy { if (!fname.includes('/')) { // then we'll prefix FN_REGISTRY let reg = process.env.FN_REGISTRY; - if (reg !== '') { + if (reg !== undefined && reg !== '') { if (!reg.endsWith('/')) { reg += '/'; }