Comparing version 3.2.1 to 3.2.2
{ | ||
"name": "env-ci", | ||
"description": "Get environment variables exposed by CI services", | ||
"version": "3.2.1", | ||
"version": "3.2.2", | ||
"author": "Pierre Vanduynslager (https://github.com/pvdlg)", | ||
@@ -6,0 +6,0 @@ "bugs": { |
// https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables | ||
const {prNumber} = require('../lib/utils'); | ||
module.exports = { | ||
@@ -10,3 +8,3 @@ detect({env}) { | ||
configuration({env}) { | ||
const pr = env.CIRCLE_PR_NUMBER || prNumber(env.CIRCLE_PULL_REQUEST || env.CI_PULL_REQUEST); | ||
const pr = env.CIRCLE_PR_NUMBER; | ||
const isPr = Boolean(pr); | ||
@@ -13,0 +11,0 @@ |
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
38503
599