From 633a1e7b436ef78fa57b87f3fae5f4886268fc3f Mon Sep 17 00:00:00 2001 From: Brett Logan <9400927+lindluni@users.noreply.github.com> Date: Tue, 20 Aug 2024 09:49:38 -0400 Subject: [PATCH] Properly parse ref on file lookup Signed-off-by: Brett Logan <9400927+lindluni@users.noreply.github.com> --- .gitignore | 4 +++- dist/index.js | 2 +- index.js | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 3c3629e..fd71254 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -node_modules +.envrc + +node_modules/ diff --git a/dist/index.js b/dist/index.js index 363fd41..da0842c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -12126,7 +12126,7 @@ const main = async () => { const files = await retrieveFiles(group, ref) if (Array.isArray(files)) { for (const _file of files) { - const file = await retrieveFile(_file.path) + const file = await retrieveFile(_file.path, ref) await processVariables(file) } } else { diff --git a/index.js b/index.js index 26ef99c..baa5fc9 100644 --- a/index.js +++ b/index.js @@ -106,7 +106,7 @@ const main = async () => { const files = await retrieveFiles(group, ref) if (Array.isArray(files)) { for (const _file of files) { - const file = await retrieveFile(_file.path) + const file = await retrieveFile(_file.path, ref) await processVariables(file) } } else {