From b6a46f21147085b029d74c71fdd6fc33c629d12f Mon Sep 17 00:00:00 2001 From: Robin Neatherway Date: Thu, 6 Oct 2022 13:20:30 +0100 Subject: [PATCH] Correct grammar in archive extraction error message (#2184) --- src/Runner.Listener/SelfUpdater.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Runner.Listener/SelfUpdater.cs b/src/Runner.Listener/SelfUpdater.cs index 3c8242402..07db370f6 100644 --- a/src/Runner.Listener/SelfUpdater.cs +++ b/src/Runner.Listener/SelfUpdater.cs @@ -596,7 +596,7 @@ namespace GitHub.Runner.Listener int exitCode = await processInvoker.ExecuteAsync(extractDirectory, tar, $"-xzf \"{archiveFile}\"", null, token); if (exitCode != 0) { - throw new NotSupportedException($"Can't use 'tar -xzf' extract archive file: {archiveFile}. return code: {exitCode}."); + throw new NotSupportedException($"Can't use 'tar -xzf' to extract archive file: {archiveFile}. return code: {exitCode}."); } } }