Skip to content

Commit b8f624f

Browse files
committed
ci: Debug ci
1 parent 36ef10f commit b8f624f

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

tools/scripts/upload-badge.mjs

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,8 @@ const headers = new Headers([
3333

3434
console.log(process.env['GIST_SECRET'])
3535

36-
(async function(){
37-
const result = await fetch(gistUrl, {
38-
method: "PATCH",
39-
headers,
40-
body,
41-
}).then(r => r.json())
42-
console.log(result);
43-
})()
36+
const result = await fetch(gistUrl, {
37+
method: "PATCH",
38+
headers,
39+
body,
40+
}).then(r => r.json()).then(r => console.log(r))

0 commit comments

Comments
 (0)