Skip to content

Commit b652a75

Browse files
committed
fix: simplify warning message for throttled responses
1 parent 376a088 commit b652a75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/requests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ async function GetCDNResponse(ID: string): Promise<CDNStatusResponseType> {
5454

5555
for (const [Key, Value] of Object.entries(ResponseRaw.paths)) {
5656
if (Value.throttled) {
57-
Actions.warning(`Throttled: ${Key.replace(/^\/gh\/[A-Za-z0-9-._]+\/[A-Za-z0-9-._]+(?=@)/, '')}`)
57+
Actions.warning(`Throttled: ${Key}`)
5858
}
5959
}
6060

0 commit comments

Comments
 (0)