Skip to content

Commit af6b115

Browse files
authored
Fix JSDoc typo: "beginPattern" -> "beginsPattern"
The docs for `BackgroundMatcher.activeOnStart` have a significant typo: they refer to another property "beginPattern" which doesn't actually exist. The actual name is `beginsPattern` (with an "s"). This PR fixes this typo.
1 parent 473af33 commit af6b115

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/vs/workbench/contrib/tasks/common/problemMatcher.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ export namespace Config {
688688
/**
689689
* If set to true the watcher is in active mode when the task
690690
* starts. This is equals of issuing a line that matches the
691-
* beginPattern.
691+
* beginsPattern.
692692
*/
693693
activeOnStart?: boolean;
694694

@@ -1591,7 +1591,7 @@ export namespace Schemas {
15911591
properties: {
15921592
activeOnStart: {
15931593
type: 'boolean',
1594-
description: localize('ProblemMatcherSchema.background.activeOnStart', 'If set to true the background monitor is in active mode when the task starts. This is equals of issuing a line that matches the beginPattern')
1594+
description: localize('ProblemMatcherSchema.background.activeOnStart', 'If set to true the background monitor is in active mode when the task starts. This is equals of issuing a line that matches the beginsPattern')
15951595
},
15961596
beginsPattern: {
15971597
oneOf: [

0 commit comments

Comments
 (0)