Comparing version 1.5.0 to 1.6.0
@@ -26,4 +26,9 @@ var async = require('async'); | ||
if (process.env.TRAVIS) { | ||
branch = (process.env.TRAVIS_PULL_REQUEST === 'false' ? process.env.TRAVIS_BRANCH : git.branch(process.env.TRAVIS_BUILD_DIR)); | ||
sha = process.env.TRAVIS_COMMIT; | ||
if (process.env.TRAVIS_PULL_REQUEST === 'false') { | ||
branch = process.env.TRAVIS_BRANCH; | ||
sha = process.env.TRAVIS_COMMIT; | ||
} else { | ||
branch = (process.env.TRAVIS_PULL_REQUEST === 'false' ? process.env.TRAVIS_BRANCH : git.branch(process.env.TRAVIS_BUILD_DIR)); | ||
sha = process.env.TRAVIS_COMMIT_RANGE.match(/\.\.\.(\b[0-9a-f]{5,40}\b)$/i)[1]; | ||
} | ||
} else if (process.env.JENKINS_URL) { | ||
@@ -30,0 +35,0 @@ branch = process.env.GIT_BRANCH; |
{ | ||
"name": "bithound", | ||
"version": "1.5.0", | ||
"version": "1.6.0", | ||
"description": "Commands for interacting with bitHound: https://bithound.io", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
18687
330
31