Fixing typo in error debug message for failed `clean`

This commit is contained in:
Nicola Corti 2020-06-01 00:16:14 +02:00
parent 453ee27fca
commit dfaf9d305e
No known key found for this signature in database
GPG Key ID: FE4AB83553990F37
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -7601,7 +7601,7 @@ function prepareExistingDirectory(git, repositoryPath, repositoryUrl, clean, ref
if (clean) { if (clean) {
core.startGroup('Cleaning the repository'); core.startGroup('Cleaning the repository');
if (!(yield git.tryClean())) { 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; remove = true;
} }
else if (!(yield git.tryReset())) { else if (!(yield git.tryReset())) {

View File

@ -84,7 +84,7 @@ export async function prepareExistingDirectory(
core.startGroup('Cleaning the repository') core.startGroup('Cleaning the repository')
if (!(await git.tryClean())) { if (!(await git.tryClean())) {
core.debug( 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 remove = true
} else if (!(await git.tryReset())) { } else if (!(await git.tryReset())) {