Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
dalance committed Mar 9, 2024
1 parent 0e2161d commit 27c6baa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function mapOS(os) {
function getDownloadObject(version) {
const platform = os.platform();
const filename = `veryl-${ mapArch(os.arch()) }-${ mapOS(platform) }`;
const binPath = platform === 'win32' ? '' : filename;
const binPath = platform === 'win32' ? '' : '';
const url = `https://github.com/veryl-lang/veryl/releases/download/veryl-v${ version }/${ filename }.zip`;
return {
url,
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function mapOS(os) {
function getDownloadObject(version) {
const platform = os.platform();
const filename = `veryl-${ mapArch(os.arch()) }-${ mapOS(platform) }`;
const binPath = platform === 'win32' ? '' : filename;
const binPath = platform === 'win32' ? '' : '';
const url = `https://github.com/veryl-lang/veryl/releases/download/veryl-v${ version }/${ filename }.zip`;
return {
url,
Expand Down

0 comments on commit 27c6baa

Please sign in to comment.