In the validation code, we assume that scw_project is defined to check for its length but this may not always be the case., leading to a crash with a fairly obscure error. We should instead return a clearer error like scw_project is not defined, please add it to your Scaleway config or via the provider settings.
Problematic code here:
|
this.provider.getScwProject().length !== 36 |
In the validation code, we assume that
scw_projectis defined to check for its length but this may not always be the case., leading to a crash with a fairly obscure error. We should instead return a clearer error likescw_project is not defined, please add it to your Scaleway config or via the provider settings.Problematic code here:
serverless-scaleway-functions/shared/validate.js
Line 66 in f430907