From f3a88ba3074b9cbf77857f6c4d8849c3b01b5ff9 Mon Sep 17 00:00:00 2001 From: Luis Montero <17201527+fd0r@users.noreply.github.com> Date: Fri, 2 Feb 2024 14:34:29 +0100 Subject: [PATCH] fix(typo): fix typo in timeout message --- dist/index.js | 2 +- src/gh.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 9f932e3..2bd4f59 100644 --- a/dist/index.js +++ b/dist/index.js @@ -49715,7 +49715,7 @@ async function waitForRunnerRegistered(label) { } core.error( - `A timeout of ${timeoutSeconds} minutes is exceeded. Your AWS EC2 instance was not able to register itself in GitHub as a new self-hosted runner.` + `A timeout of ${timeoutSeconds} seconds is exceeded. Your AWS EC2 instance was not able to register itself in GitHub as a new self-hosted runner.` ) throw new Error('GitHub self-hosted runner registration error') } diff --git a/src/gh.js b/src/gh.js index 83222b3..ca1e134 100644 --- a/src/gh.js +++ b/src/gh.js @@ -55,7 +55,7 @@ async function waitForRunnerRegistered(label) { } core.error( - `A timeout of ${timeoutSeconds} minutes is exceeded. Your AWS EC2 instance was not able to register itself in GitHub as a new self-hosted runner.` + `A timeout of ${timeoutSeconds} seconds is exceeded. Your AWS EC2 instance was not able to register itself in GitHub as a new self-hosted runner.` ) throw new Error('GitHub self-hosted runner registration error') }