From 07a77ffb351af783df45544447eb1ea88b569540 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 17 Feb 2020 23:42:25 +0100 Subject: Migrate to eslint --- editors/code/src/installation/fetch_artifact_release_info.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'editors/code/src/installation') diff --git a/editors/code/src/installation/fetch_artifact_release_info.ts b/editors/code/src/installation/fetch_artifact_release_info.ts index 7d497057a..71889e82a 100644 --- a/editors/code/src/installation/fetch_artifact_release_info.ts +++ b/editors/code/src/installation/fetch_artifact_release_info.ts @@ -14,7 +14,7 @@ export async function fetchArtifactReleaseInfo( ): Promise { const repoOwner = encodeURIComponent(repo.owner); - const repoName = encodeURIComponent(repo.name); + const repoName = encodeURIComponent(repo.name); const apiEndpointPath = releaseTag ? `/repos/${repoOwner}/${repoName}/releases/tags/${releaseTag}` @@ -28,8 +28,8 @@ export async function fetchArtifactReleaseInfo( // FIXME: handle non-ok response const response: GithubRelease = await fetch(requestUrl, { - headers: { Accept: "application/vnd.github.v3+json" } - }) + headers: { Accept: "application/vnd.github.v3+json" } + }) .then(res => res.json()); const artifact = response.assets.find(artifact => artifact.name === artifactFileName); -- cgit v1.2.3