src/vs/server/node/server.cli.ts/asExtensionIdOrVSIX
function asExtensionIdOrVSIX(inputs: string[] | undefined) {
	return inputs?.map(input => /\.vsix$/i.test(input) ? pathToURI(input).href : input);
}