提交 aa5bcf35 编写于 作者: J Joao Moreno

💄

上级 957465d9
......@@ -213,12 +213,12 @@ export function fromMarketplace(extensionName: string, version: string): Stream
method: 'POST',
gzip: true,
headers,
body: body
body
}
};
return remote('/extensionquery', options)
.pipe(flatmap((stream, f) => {
.pipe(flatmap((_, f) => {
const rawResult = f.contents.toString('utf8');
const result = JSON.parse(rawResult);
const extension = result.results[0].extensions[0];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册