From 104ee90b0f69a26333dc2fc18f3528f2e909a317 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Mon, 18 Apr 2022 02:59:07 -0700 Subject: [PATCH] fix: format the final installation message --- src/main.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.ts b/src/main.ts index 1da73e9b..166bd2a6 100644 --- a/src/main.ts +++ b/src/main.ts @@ -326,15 +326,15 @@ function maybeGetInput(key: string) { } function getSuccessMessage(tool: string, installationInfo: InstallationInfo | undefined | void) { - let msg = `${tool} was successfully installed` + let msg = `✅ ${tool} was installed successfully:` if (installationInfo === undefined) { return msg } if ("installDir" in installationInfo) { - msg += `\nThe installation directory is ${installationInfo.installDir}` + msg += `\n- The installation directory is ${installationInfo.installDir}` } if (installationInfo.binDir !== "") { - msg += `\nThe binary directory is ${installationInfo.binDir}` + msg += `\n- The binary directory is ${installationInfo.binDir}` } return msg }