We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c7b3ce4 + a711793 commit 0b39e8aCopy full SHA for 0b39e8a
packages/cli/src/commands/externalCi/azure.ts
@@ -14,6 +14,7 @@ export const CommandAzureGitlab = async (props: AzureGitlabCIConf) => {
14
const DEFAULT_AZURE_CORS =
15
'https://functions-next.azure.com https://functions-staging.azure.com https://functions.azure.com';
16
const generateEnvVariables = (names: string) => {
17
+ if (!names) return "";
18
return names
19
.replace(' ', '')
20
.split(',')
@@ -29,6 +30,7 @@ const template = ({
29
30
azureEnv,
31
azureCors,
32
}: Required<AzureGitlabCIConf>) => {
33
+ if (!azureFnName) throw new Error('You have to specify unique azureFnName for your resources.')
34
return `
35
stages:
36
- build
0 commit comments