We use private git repositories as dependencies in our code
For that we need to add our token to the github url so we can access those private repositories.
Since serverless builds the functions concurrently the git config command is ran multiple times and crashes.
As you can see in the code below we added a condition so this command will only run once.
My feature request/suggestion is adding an init property to the config that will run only once before compilation, this will allow us to do whatever one time initialization we need
We use private git repositories as dependencies in our code For that we need to add our token to the github url so we can access those private repositories. Since serverless builds the functions concurrently the
git config
command is ran multiple times and crashes. As you can see in the code below we added a condition so this command will only run once.My feature request/suggestion is adding an
init
property to the config that will run only once before compilation, this will allow us to do whatever one time initialization we need