We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b659d26 commit 25bdad1Copy full SHA for 25bdad1
src/commands-core/npmScripts.ts
@@ -7,9 +7,8 @@ type PromiseType<T> = T extends Promise<infer U> ? U : never
7
8
const detectAndAssignProblemMatcher = (task: vscode.Task, scriptContent: string) => {
9
// TODO! simple cmd parser &&
10
- // TODO! resolve final command with links
11
- if (scriptContent.startsWith('tsc')) task.problemMatchers = ['$tsc']
12
- if (scriptContent.startsWith('esbuild')) task.problemMatchers = scriptContent.includes('--watch') ? ['$esbuild-watch'] : ['$esbuild']
+ if (scriptContent.includes('tsc')) task.problemMatchers = ['$tsc']
+ if (scriptContent.includes('esbuild')) task.problemMatchers = scriptContent.includes('--watch') ? ['$esbuild-watch'] : ['$esbuild']
13
}
14
15
/**
0 commit comments