web - fix problems to show up from yarn web

This commit is contained in:
Benjamin Pasero
2019-11-12 19:06:48 +01:00
parent 1a1e7c9545
commit 6d1ddf0730

View File

@@ -344,7 +344,7 @@ function enableProblems(context: vscode.ExtensionContext): void {
}
function updateDiagnostics(document: vscode.TextDocument, collection: vscode.DiagnosticCollection): void {
if (document && document.fileName === '/large.ts') {
if (document && document.fileName === '/sample-folder/large.ts') {
collection.set(document.uri, [{
code: '',
message: 'cannot assign twice to immutable variable `storeHouses`',