From efb8e162fd6fd4449424f43e9afbac2b50473ba7 Mon Sep 17 00:00:00 2001 From: Sora Morimoto Date: Sat, 4 Jul 2020 01:20:19 +0900 Subject: [PATCH] Update version of opam for Linux to 2.0.7 --- __tests__/installer.test.ts | 4 ++-- src/installer.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/__tests__/installer.test.ts b/__tests__/installer.test.ts index 0f3b0da1..1bc8d959 100644 --- a/__tests__/installer.test.ts +++ b/__tests__/installer.test.ts @@ -25,12 +25,12 @@ describe("installer tests", () => { }, 100000); it("Acquires opam source", async () => { - await installer.getOpam("2.0.5", ""); + await installer.getOpam("2.0.7", ""); }, 1000000); it("Acquires opam source and uses custom repository", async () => { await installer.getOpam( - "2.0.5", + "2.0.7", "https://github.com/ocaml/opam-repository.git#master" ); }, 1000000); diff --git a/src/installer.ts b/src/installer.ts index 431daa96..e888fea5 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -53,7 +53,7 @@ async function acquireOpamWindows(version: string, customRepository: string) { } async function acquireOpamLinux(version: string, customRepository: string) { - const opamVersion = "2.0.5"; + const opamVersion = "2.0.7"; const fileName = getOpamFileName(opamVersion); const downloadUrl = getOpamDownloadUrl(opamVersion, fileName); const repository =