diff options
Diffstat (limited to 'editors/code/src/installation/fetch_artifact_release_info.ts')
-rw-r--r-- | editors/code/src/installation/fetch_artifact_release_info.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/code/src/installation/fetch_artifact_release_info.ts b/editors/code/src/installation/fetch_artifact_release_info.ts index 1e764718c..1b6fc8d48 100644 --- a/editors/code/src/installation/fetch_artifact_release_info.ts +++ b/editors/code/src/installation/fetch_artifact_release_info.ts | |||
@@ -1,5 +1,6 @@ | |||
1 | import fetch from "node-fetch"; | 1 | import fetch from "node-fetch"; |
2 | import { GithubRepo, ArtifactReleaseInfo } from "./interfaces"; | 2 | import { GithubRepo, ArtifactReleaseInfo } from "./interfaces"; |
3 | import { log } from "../util"; | ||
3 | 4 | ||
4 | const GITHUB_API_ENDPOINT_URL = "https://api.github.com"; | 5 | const GITHUB_API_ENDPOINT_URL = "https://api.github.com"; |
5 | 6 | ||
@@ -24,7 +25,7 @@ export async function fetchArtifactReleaseInfo( | |||
24 | 25 | ||
25 | // We skip runtime type checks for simplicity (here we cast from `any` to `GithubRelease`) | 26 | // We skip runtime type checks for simplicity (here we cast from `any` to `GithubRelease`) |
26 | 27 | ||
27 | console.log("Issuing request for released artifacts metadata to", requestUrl); | 28 | log.debug("Issuing request for released artifacts metadata to", requestUrl); |
28 | 29 | ||
29 | // FIXME: handle non-ok response | 30 | // FIXME: handle non-ok response |
30 | const response: GithubRelease = await fetch(requestUrl, { | 31 | const response: GithubRelease = await fetch(requestUrl, { |