Skip to content

Commit 633a1e7

Browse files
committed
Properly parse ref on file lookup
Signed-off-by: Brett Logan <9400927+lindluni@users.noreply.github.com>
1 parent c26f9b5 commit 633a1e7

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
node_modules
1+
.envrc
2+
3+
node_modules/

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12126,7 +12126,7 @@ const main = async () => {
1212612126
const files = await retrieveFiles(group, ref)
1212712127
if (Array.isArray(files)) {
1212812128
for (const _file of files) {
12129-
const file = await retrieveFile(_file.path)
12129+
const file = await retrieveFile(_file.path, ref)
1213012130
await processVariables(file)
1213112131
}
1213212132
} else {

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ const main = async () => {
106106
const files = await retrieveFiles(group, ref)
107107
if (Array.isArray(files)) {
108108
for (const _file of files) {
109-
const file = await retrieveFile(_file.path)
109+
const file = await retrieveFile(_file.path, ref)
110110
await processVariables(file)
111111
}
112112
} else {

0 commit comments

Comments
 (0)