Skip to content

Commit 28580a1

Browse files
authored
Merge pull request #1543 from qinyuhang/master
fix(npm): update npm package download url
2 parents f28cf3e + 5f48264 commit 28580a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

npm/binary.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ const getPlatform = () => {
2828
const getBinary = () => {
2929
const platform = getPlatform();
3030
const version = require("./package.json").version;
31-
const author = "rustwasm";
31+
const author = "drager";
3232
const name = "wasm-pack";
3333
const url = `https://github.com/${author}/${name}/releases/download/v${version}/${name}-v${version}-${platform}.tar.gz`;
3434
return new Binary(platform === windows ? "wasm-pack.exe" : "wasm-pack", url, {
35-
installDirectory: join(__dirname, "binary")
35+
installDirectory: join(__dirname, "binary"),
3636
});
3737
};
3838

@@ -44,7 +44,7 @@ const install = () => {
4444
const run = () => {
4545
const binary = getBinary();
4646
binary.run();
47-
}
47+
};
4848

4949
module.exports = {
5050
install,

0 commit comments

Comments
 (0)