From 636e8b81230e6eb73788abea9f4137fe1f7b113b Mon Sep 17 00:00:00 2001 From: tshion Date: Sat, 11 May 2024 14:17:30 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B3=E3=83=9E=E3=83=B3=E3=83=89=E5=AE=9F?= =?UTF-8?q?=E8=A1=8C=E6=99=82=E3=81=AB=E3=80=81=E3=83=8D=E3=82=B9=E3=83=88?= =?UTF-8?q?=E3=81=97=E3=81=9F=E3=82=B3=E3=83=9E=E3=83=B3=E3=83=89=E3=82=82?= =?UTF-8?q?=E5=AE=9F=E8=A1=8C=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- compiled/index.js | 4 ++-- src/index.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/compiled/index.js b/compiled/index.js index 4ede11d..ddbbd21 100644 --- a/compiled/index.js +++ b/compiled/index.js @@ -26285,8 +26285,8 @@ const git_user_type_1 = __nccwpck_require__(9612); gitCommand = builder.forSpecific(core.getInput('email'), core.getInput('name')); break; } - await (0, exec_1.exec)(gitCommand.commandUserEmail, undefined, gitCommand.options); - await (0, exec_1.exec)(gitCommand.commandUserName, undefined, gitCommand.options); + await (0, exec_1.exec)(`"${gitCommand.commandUserEmail}"`, undefined, gitCommand.options); + await (0, exec_1.exec)(`"${gitCommand.commandUserName}"`, undefined, gitCommand.options); } catch (error) { if (error instanceof Error) { diff --git a/src/index.ts b/src/index.ts index a659817..c03d436 100644 --- a/src/index.ts +++ b/src/index.ts @@ -33,8 +33,8 @@ import { GitUser, GitUserUtil } from './git-user.type'; break; } - await exec(gitCommand.commandUserEmail, undefined, gitCommand.options); - await exec(gitCommand.commandUserName, undefined, gitCommand.options); + await exec(`"${gitCommand.commandUserEmail}"`, undefined, gitCommand.options); + await exec(`"${gitCommand.commandUserName}"`, undefined, gitCommand.options); } catch (error: unknown) { if (error instanceof Error) { core.setFailed(error.message);