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); } /**