Skip to content

Commit

Permalink
Fix npm download URL
Browse files Browse the repository at this point in the history
  • Loading branch information
f-f committed Dec 3, 2023
1 parent bd62a15 commit e01dc08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion npm/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ const fetch = require("make-fetch-happen");
const tar = require("tar");
const version = "0.21.0";
const platform = { win32: "Windows", darwin: "macOS" }[process.platform] || "Linux";
const url = `https://github.com/purescript/spago/releases/download/${version}/${platform}.tar.gz`
const url = `https://github.com/purescript/spago-legacy/releases/download/${version}/${platform}.tar.gz`

fetch(url).then(res => res.body.pipe(tar.x({ "C": './' })));

0 comments on commit e01dc08

Please sign in to comment.