From 2cc8b5acccd633ff94ba940a86edfc1c06c6d164 Mon Sep 17 00:00:00 2001 From: Ian Clanton-Thuon Date: Thu, 2 Oct 2025 15:02:38 -0400 Subject: [PATCH] Add a logging message after the TAR binary is found. --- .../@microsoft/rush/tar-logging_2025-10-02-19-02.json | 10 ++++++++++ libraries/rush-lib/src/utilities/TarExecutable.ts | 5 +++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 common/changes/@microsoft/rush/tar-logging_2025-10-02-19-02.json diff --git a/common/changes/@microsoft/rush/tar-logging_2025-10-02-19-02.json b/common/changes/@microsoft/rush/tar-logging_2025-10-02-19-02.json new file mode 100644 index 00000000000..425bedeb1a1 --- /dev/null +++ b/common/changes/@microsoft/rush/tar-logging_2025-10-02-19-02.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@microsoft/rush", + "comment": "Add a logging message after the 'Trying to find \"tar\" binary' message when the binary is found.", + "type": "none" + } + ], + "packageName": "@microsoft/rush" +} \ No newline at end of file diff --git a/libraries/rush-lib/src/utilities/TarExecutable.ts b/libraries/rush-lib/src/utilities/TarExecutable.ts index 237f8662239..623d9bab29b 100644 --- a/libraries/rush-lib/src/utilities/TarExecutable.ts +++ b/libraries/rush-lib/src/utilities/TarExecutable.ts @@ -40,9 +40,10 @@ export class TarExecutable { if (!tarExecutablePath) { terminal.writeVerboseLine('"tar" was not found on the PATH'); return undefined; + } else { + terminal.writeVerboseLine(`Using "tar" binary: ${tarExecutablePath}`); + return new TarExecutable(tarExecutablePath); } - - return new TarExecutable(tarExecutablePath); } /**