From f3137c9b2c5ad3481e2afc07ddb1be2e30df9c02 Mon Sep 17 00:00:00 2001 From: eric sciple Date: Tue, 3 Dec 2019 13:37:05 -0500 Subject: [PATCH] . --- dist/index.js | 1 + src/git-source-provider.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/index.js b/dist/index.js index b96c86c..4a1027b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -4980,6 +4980,7 @@ function getSource(settings) { !(yield tryPrepareExistingDirectory(git, settings.repositoryPath, repositoryUrl, settings.clean))) { // Delete the contents of the directory. Don't delete the directory itself // since it may be the current working directory. + core.info(`Deleting the contents of '${settings.repositoryPath}'`); for (const file of yield fs.promises.readdir(settings.repositoryPath)) { yield io.rmRF(path.join(settings.repositoryPath, file)); } diff --git a/src/git-source-provider.ts b/src/git-source-provider.ts index 122bbe1..fc41fd2 100644 --- a/src/git-source-provider.ts +++ b/src/git-source-provider.ts @@ -61,6 +61,7 @@ export async function getSource(settings: ISourceSettings): Promise { ) { // Delete the contents of the directory. Don't delete the directory itself // since it may be the current working directory. + core.info(`Deleting the contents of '${settings.repositoryPath}'`) for (const file of await fs.promises.readdir(settings.repositoryPath)) { await io.rmRF(path.join(settings.repositoryPath, file)) }