Update extensions/ql-vscode/src/distribution.ts

Co-authored-by: Henry Mercer <henry.mercer@me.com>
This commit is contained in:
jcreedcmu
2020-06-05 08:32:53 -04:00
committed by GitHub
parent 73a0bcacc8
commit 3bc884f45d

View File

@@ -308,7 +308,7 @@ class ExtensionSpecificDistributionManager {
assets.map(asset => asset.name).join(', '));
}
const assetStream = await this.createReleasesApiConsumer().streamBinaryContentOfAsset(release.assets[0]);
const assetStream = await this.createReleasesApiConsumer().streamBinaryContentOfAsset(assets[0]);
const tmpDirectory = await fs.mkdtemp(path.join(os.tmpdir(), "vscode-codeql"));
try {