fix: fix up the locale (#205)

This commit is contained in:
樊冬 2020-09-18 16:00:54 +08:00 committed by GitHub
parent 660c688d55
commit 43117c63b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -835,6 +835,10 @@ export default class TypeScriptServiceClient implements ITypeScriptServiceClient
} }
} }
if (this._configuration.locale) {
args.push('--locale', this._configuration.locale)
}
if (this._configuration.typingsCacheLocation) { if (this._configuration.typingsCacheLocation) {
args.push('--globalTypingsCacheLocation', `"${this._configuration.typingsCacheLocation}"`) args.push('--globalTypingsCacheLocation', `"${this._configuration.typingsCacheLocation}"`)
} }