Skip to content

Commit 525f770

Browse files
chore: wip
1 parent b6dc636 commit 525f770

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

bunfig.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
[install]
22
registry = { url = "https://registry.npmjs.org/", token = "$BUN_AUTH_TOKEN" }
3+
4+
[test]
5+
timeout = 10000

src/utils/github-actions-parser.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,10 +283,10 @@ export async function fetchLatestActionVersion(actionName: string): Promise<stri
283283
const bPart = bParts[i] || 0
284284
if (aPart !== bPart) {
285285
return bPart - aPart // Sort descending
286+
}
286287
}
287-
}
288-
return 0
289-
})
288+
return 0
289+
})
290290

291291
if (stableTags.length > 0) {
292292
console.log(`✅ Found latest stable tag: ${stableTags[0]}`)

src/utils/zig-parser.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ export async function parseZigManifest(filePath: string, content: string): Promi
4848
// Match each dependency entry: .package_name = .{ ... }
4949
// We'll find each one individually by looking for the pattern and extracting the content
5050
const depPattern = /\.(\w+)\s*=\s*\.?\{/g
51-
let match
51+
let match = depPattern.exec(dependenciesBlock)
5252

53-
while ((match = depPattern.exec(dependenciesBlock)) !== null) {
53+
while (match !== null) {
5454
const packageName = match[1]
5555
const depStartIndex = match.index + match[0].length
5656

@@ -93,6 +93,8 @@ export async function parseZigManifest(filePath: string, content: string): Promi
9393
metadata,
9494
})
9595
}
96+
97+
match = depPattern.exec(dependenciesBlock)
9698
}
9799
}
98100

0 commit comments

Comments
 (0)