From f095bcc56b7c2baf48f3ac70d6d6782f4f553222 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Wed, 19 Apr 2023 17:55:10 +0300 Subject: [PATCH] Fix typos found by codespell (#1287) --- adrs/0153-checkout-v2.md | 4 ++-- dist/index.js | 2 +- src/git-directory-helper.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/adrs/0153-checkout-v2.md b/adrs/0153-checkout-v2.md index 74730c735..c3312909e 100644 --- a/adrs/0153-checkout-v2.md +++ b/adrs/0153-checkout-v2.md @@ -181,7 +181,7 @@ GITHUB_WORKSPACE=/home/runner/work/foo/foo RUNNER_WORKSPACE=/home/runner/work/foo ``` -V2 introduces a new contraint on the checkout path. The location must now be under `github.workspace`. Whereas the checkout@v1 constraint was one level up, under `runner.workspace`. +V2 introduces a new constraint on the checkout path. The location must now be under `github.workspace`. Whereas the checkout@v1 constraint was one level up, under `runner.workspace`. V2 no longer changes `github.workspace` to follow wherever the self repo is checked-out. @@ -287,4 +287,4 @@ Note: - Update samples to consume `actions/checkout@v2` - Job containers now require git in the PATH for checkout, otherwise fallback to REST API - Minimum git version 2.18 -- Update problem matcher logic regarding source file verification (runner) \ No newline at end of file +- Update problem matcher logic regarding source file verification (runner) diff --git a/dist/index.js b/dist/index.js index 13a291a05..e6f5df8ff 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1039,7 +1039,7 @@ function prepareExistingDirectory(git, repositoryPath, repositoryUrl, clean, ref if (clean) { core.startGroup('Cleaning the repository'); if (!(yield git.tryClean())) { - core.debug(`The clean command failed. This might be caused by: 1) path too long, 2) permission issue, or 3) file in use. For futher investigation, manually run 'git clean -ffdx' on the directory '${repositoryPath}'.`); + core.debug(`The clean command failed. This might be caused by: 1) path too long, 2) permission issue, or 3) file in use. For further investigation, manually run 'git clean -ffdx' on the directory '${repositoryPath}'.`); remove = true; } else if (!(yield git.tryReset())) { diff --git a/src/git-directory-helper.ts b/src/git-directory-helper.ts index fcd4b60b2..9a0085f21 100644 --- a/src/git-directory-helper.ts +++ b/src/git-directory-helper.ts @@ -92,7 +92,7 @@ export async function prepareExistingDirectory( core.startGroup('Cleaning the repository') if (!(await git.tryClean())) { core.debug( - `The clean command failed. This might be caused by: 1) path too long, 2) permission issue, or 3) file in use. For futher investigation, manually run 'git clean -ffdx' on the directory '${repositoryPath}'.` + `The clean command failed. This might be caused by: 1) path too long, 2) permission issue, or 3) file in use. For further investigation, manually run 'git clean -ffdx' on the directory '${repositoryPath}'.` ) remove = true } else if (!(await git.tryReset())) {