Skip to content

Commit

Permalink
fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed May 18, 2024
1 parent 7f369df commit 67b052f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ async function downloadFile(name, url, filepath) {
}

async function main() {
const latest = await github.getLatestRelease({
const data = await github.getLatestRelease({
owner,
repo,
});
const vsixFilenames = await Promise.all(
latest.data.assets
data.assets
.filter(({name}) => name?.endsWith('.vsix'))
.map(({name, browser_download_url}) => downloadFile(name, browser_download_url, 'dist'))
);
Expand Down

0 comments on commit 67b052f

Please sign in to comment.