remove console.log

This commit is contained in:
Qiming Zhao 2022-02-19 02:31:42 +08:00
parent 5dcd715888
commit 67239f40b5
No known key found for this signature in database
GPG key ID: 9722CD0E8D4DCB8C

View file

@ -223,8 +223,6 @@ export default class TypeScriptServiceClient implements ITypeScriptServiceClient
private startService(resendModels = false): ForkedTsServerProcess | undefined {
const { ignoreLocalTsserver } = this.configuration
let currentVersion: TypeScriptVersion
console.log('===========')
console.log(this.tscPathVim)
if (this.tscPathVim) currentVersion = this.versionProvider.getVersionFromTscPath(this.tscPathVim)
if (!currentVersion && !ignoreLocalTsserver) currentVersion = this.versionProvider.getLocalVersion()
if (!currentVersion || !fs.existsSync(currentVersion.tsServerPath)) {