fix for gulp remote in extensions.ts (#15298)

This commit is contained in:
Alex Ma
2021-04-30 13:06:44 -07:00
committed by GitHub
parent ec4e5d5c18
commit 4ec3779be4

View File

@@ -201,6 +201,7 @@ const baseHeaders = {
};
export function fromMarketplace(extensionName: string, version: string, metadata: any): Stream {
const remote = require('gulp-remote-retry-src');
const json = require('gulp-json-editor') as typeof import('gulp-json-editor');
const [, name] = extensionName.split('.');