Merge pull request #62 from microsoft/fix_empty_error

pull/2748/head
Alexandru Dima 5 years ago committed by GitHub
commit 94d92a7181
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -97,7 +97,7 @@ export class TypeScriptWorker implements ts.LanguageServiceHost, monaco.language
getScriptSnapshot(fileName: string): ts.IScriptSnapshot | undefined {
const text = this._getScriptText(fileName);
if (!text) {
if (text === undefined) {
return;
}

Loading…
Cancel
Save