mirror of
https://github.com/coder/code-server.git
synced 2025-09-23 17:54:36 +08:00
Make it clearer what the tar code does
This commit is contained in:
@ -8,7 +8,7 @@ import pkg from "vs/platform/product/node/package";
|
||||
import product from "vs/platform/product/node/product";
|
||||
|
||||
import { MainServer } from "vs/server/src/server";
|
||||
import "vs/server/src/tar";
|
||||
import { enableExtensionTars } from "vs/server/src/tar";
|
||||
import { AuthType, buildAllowedMessage, generateCertificate, generatePassword, localRequire, open, unpackExecutables } from "vs/server/src/util";
|
||||
|
||||
const { logger } = localRequire<typeof import("@coder/logger/out/index")>("@coder/logger/out/index");
|
||||
@ -96,6 +96,8 @@ const main = async (): Promise<void | void[]> => {
|
||||
return buildVersionMessage(version, product.commit).split("\n").map((line) => logger.info(line));
|
||||
}
|
||||
|
||||
enableExtensionTars();
|
||||
|
||||
const shouldSpawnCliProcess = (): boolean => {
|
||||
return !!args["install-source"]
|
||||
|| !!args["list-extensions"]
|
||||
|
Reference in New Issue
Block a user