From 6c4a71051e6139ef1a0867050c5d8b90b7d6ee54 Mon Sep 17 00:00:00 2001 From: "yu.otsubo" Date: Fri, 13 Jan 2023 01:30:14 +0900 Subject: [PATCH] delete file --- scripts/uploadScreenShot.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/uploadScreenShot.ts b/scripts/uploadScreenShot.ts index 557124c120..9d19cd936c 100644 --- a/scripts/uploadScreenShot.ts +++ b/scripts/uploadScreenShot.ts @@ -1,5 +1,5 @@ import { encode } from "https://deno.land/std@0.171.0/encoding/base64.ts"; -import { sleep } from "https://deno.land/x/sleep/mod.ts"; +import { sleep } from "https://deno.land/x/sleep@v1.2.1/mod.ts"; const GITHUB_API_URL = "https://api.github.com"; const AUTHOR_NAME = "tubone24"; @@ -30,6 +30,7 @@ const content = await fetch(`${GITHUB_API_URL}/repos/${gitHubRepo}/contents/docs }); if (content.ok) { + console.log("already have contents"); const contentJson = await content.json(); console.log(contentJson.sha) const gitHubDeletePayload = {