diff --git a/.github/fetch_icons/index.js b/.github/fetch_icons/index.js index 61164312..0094f606 100644 --- a/.github/fetch_icons/index.js +++ b/.github/fetch_icons/index.js @@ -39,7 +39,7 @@ try { } console.log("Files changed", filesChanged); - core.setOutput("files_changed", filesChanged); + core.setOutput("files_changed", false); //TODO: Luke change this } catch (error) { core.setFailed(error.message); } diff --git a/scripts/utils/checkGit.ts b/scripts/utils/checkGit.ts index 3545354e..e137e5e4 100644 --- a/scripts/utils/checkGit.ts +++ b/scripts/utils/checkGit.ts @@ -5,9 +5,11 @@ import { execSync } from "child_process"; * @returns string[] - List of files that have changed */ const getAllChangedFiles = (): string[] => { + console.log("git diff HEAD"); + console.log(execSync(`git diff HEAD`).toString()); const diffOutput = execSync(`git diff HEAD --name-only`).toString(); if (diffOutput != "") { - console.log("Files changed:", diffOutput); + // console.log("Files changed:", diffOutput); } return diffOutput.toString().split("\n").filter(Boolean); };