Archived
1
0

Add tar-stream dependency

It's no longer included by the remote dependencies.
This commit is contained in:
Asher
2019-08-09 18:56:37 -05:00
parent ba7285192c
commit 2807ce495e
3 changed files with 59 additions and 9 deletions

View File

@ -1,12 +1,14 @@
import * as fs from "fs";
import * as path from "path";
import * as tarStream from "tar-stream";
import * as util from "util";
import { CancellationToken } from "vs/base/common/cancellation";
import { mkdirp } from "vs/base/node/pfs";
import * as vszip from "vs/base/node/zip";
import * as nls from "vs/nls";
import product from "vs/platform/product/node/product";
import { localRequire } from "vs/server/src/util";
const tarStream = localRequire<typeof import("tar-stream")>("tar-stream/index");
// We will be overriding these, so keep a reference to the original.
const vszipExtract = vszip.extract;