From ceb9e60b87d3f24d26432a8ee1306d11cc9bae09 Mon Sep 17 00:00:00 2001 From: phips28 Date: Tue, 28 Apr 2020 18:53:02 +0200 Subject: [PATCH] fix code style --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index a03a1d6..6fcda37 100644 --- a/index.js +++ b/index.js @@ -32,8 +32,8 @@ Toolkit.run(async tools => { try { const current = pkg.version.toString() // set git user - await tools.runInWorkspace('git', ['config', 'user.name', `"${process.env.GITHUB_USER || "Automated Version Bump"}"`]) - await tools.runInWorkspace('git', ['config', 'user.email', `"${process.env.GITHUB_EMAIL || "gh-action-bump-version@users.noreply.github.com"}"`]) + await tools.runInWorkspace('git', ['config', 'user.name', `"${process.env.GITHUB_USER || 'Automated Version Bump'}"`]) + await tools.runInWorkspace('git', ['config', 'user.email', `"${process.env.GITHUB_EMAIL || 'gh-action-bump-version@users.noreply.github.com'}"`]) const currentBranch = /refs\/[a-zA-Z]+\/(.*)/.exec(process.env.GITHUB_REF)[1] console.log('currentBranch:', currentBranch)