Comparing version 7.2.0 to 7.2.1
{ | ||
"name": "env-ci", | ||
"description": "Get environment variables exposed by CI services", | ||
"version": "7.2.0", | ||
"version": "7.2.1", | ||
"author": "Pierre Vanduynslager (https://github.com/pvdlg)", | ||
@@ -6,0 +6,0 @@ "ava": { |
@@ -9,3 +9,3 @@ // https://jetbrains.com/help/space/automation-environment-variables.html#automation | ||
configuration({env}) { | ||
const projectKey = env.JB_SPACE_PROJECT_KEY?.toLowerCase(); | ||
const projectKey = env.JB_SPACE_PROJECT_KEY; | ||
const repositoryName = env.JB_SPACE_GIT_REPOSITORY_NAME; | ||
@@ -18,5 +18,5 @@ return { | ||
branch: parseBranch(env.JB_SPACE_GIT_BRANCH), | ||
slug: projectKey && repositoryName ? `${projectKey}/${repositoryName}` : undefined, | ||
slug: projectKey && repositoryName ? `${projectKey.toLowerCase()}/${repositoryName}` : undefined, | ||
}; | ||
}, | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49696