Skip to content

Commit

Permalink
Properly parse ref on file lookup
Browse files Browse the repository at this point in the history
Signed-off-by: Brett Logan <[email protected]>
  • Loading branch information
lindluni committed Aug 20, 2024
1 parent c26f9b5 commit 633a1e7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
node_modules
.envrc

node_modules/
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 633a1e7

Please sign in to comment.