Remove log

This commit is contained in:
Jacob Lauritzen 2020-09-26 14:34:59 +02:00 committed by GitHub
parent 044466b91b
commit f4692d2d07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ Toolkit.run(async tools => {
let currentBranch = /refs\/[a-zA-Z]+\/(.*)/.exec(process.env.GITHUB_REF)[1] let currentBranch = /refs\/[a-zA-Z]+\/(.*)/.exec(process.env.GITHUB_REF)[1]
if (process.env.GITHUB_HEAD_REF) { if (process.env.GITHUB_HEAD_REF) {
console.log('Is pull request'); // Comes from a pull request
currentBranch = process.env.GITHUB_HEAD_REF; currentBranch = process.env.GITHUB_HEAD_REF;
} }
console.log('currentBranch:', currentBranch) console.log('currentBranch:', currentBranch)