Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "get-ci-env", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Get and normalize continuous integration service environment variables.", | ||
@@ -5,0 +5,0 @@ "main": "src/main.js", |
@@ -9,3 +9,3 @@ 'use strict'; | ||
circleCi: env.CIRCLE_BRANCH, | ||
travis: env.TRAVIS_PULL_REQUEST_SHA || env.TRAVIS_COMMIT, | ||
travis: env.TRAVIS_PULL_REQUEST_BRANCH || env.TRAVIS_BRANCH, | ||
}, | ||
@@ -69,4 +69,4 @@ commit: { | ||
return [env.CIRCLE_PULL_REQUEST, env.TRAVIS_PULL_REQUEST].some( | ||
ciVariable => ciVariable && ciVariable !== 'false' | ||
ciVariable => ciVariable && ciVariable !== 'false', | ||
); | ||
} |
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
36435