From 34a91c2db46ae08b2cbb6008149b91df1ccf9618 Mon Sep 17 00:00:00 2001 From: Konrad Pabjan Date: Tue, 28 Jul 2020 13:49:32 +0200 Subject: [PATCH] Testing again --- dist/index.js | 1 - src/upload-artifact.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 2df437e..7da4f67 100644 --- a/dist/index.js +++ b/dist/index.js @@ -3997,7 +3997,6 @@ function run() { const searchResult = yield search_1.findFilesToUpload(inputs.searchPath); if (searchResult.filesToUpload.length === 0) { // No files were found, different use cases warrant different types of behavior if nothing is found - console.log(inputs.ifNoFilesFound); switch (inputs.ifNoFilesFound) { case constants_1.NoFileOptions.warn: { core.warning(`No files were found with the provided path: ${inputs.searchPath}. No artifacts will be uploaded.`); diff --git a/src/upload-artifact.ts b/src/upload-artifact.ts index 38d037d..a5b0c6f 100644 --- a/src/upload-artifact.ts +++ b/src/upload-artifact.ts @@ -10,7 +10,6 @@ async function run(): Promise { const searchResult = await findFilesToUpload(inputs.searchPath) if (searchResult.filesToUpload.length === 0) { // No files were found, different use cases warrant different types of behavior if nothing is found - console.log(inputs.ifNoFilesFound) switch (inputs.ifNoFilesFound) { case NoFileOptions.warn: { core.warning(