You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Return empty string as in compilerHost using with Visual Studio should not need to getCurrentDirectory since CompilerHost should have absolute path already
1421
-
return"";
1422
+
// In the case there is no host (such as in fourslash test), return ""
// Reset writer back to undefined to make sure that we produce an error message if CompilerHost.writeFile method is called when we are not in getEmitOutput
2881
+
// Reset writer back to undefined to make sure that we produce an error message
2882
+
// if CompilerHost.writeFile is called when we are not in getEmitOutput
2878
2883
writer=undefined;
2879
2884
returnemitOutput;
2880
2885
}
2881
2886
2882
2887
// Perform semantic and force a type check before emit to ensure that all symbols are updated
2883
2888
// EmitFiles will report if there is an error from TypeChecker and Emitter
// Reset writer back to undefined to make sure that we produce an error message if CompilerHost.writeFile method is called when we are not in getEmitOutput
0 commit comments