Skip to content

Commit 1c01465

Browse files
committed
Flag 'gnat' and 'gpr' task types as obsolete
1 parent 4da2eb2 commit 1c01465

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

integration/vscode/ada/package.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,13 +553,19 @@
553553
"taskKind"
554554
],
555555
"properties": {
556+
"type": {
557+
"type": "string",
558+
"$comment": "This pattern is intended to always fail in order to display the obsoletion message",
559+
"pattern": "^$",
560+
"patternErrorMessage": "This task type is deprecated. Use task type \"ada\" or \"spark\" instead."
561+
},
556562
"taskKind": {
557563
"type": "string",
558564
"description": "Tool and action kind"
559565
},
560566
"args": {
561567
"type": "array",
562-
"description": "Extra command arguments"
568+
"description": "Extra command line arguments"
563569
}
564570
}
565571
},
@@ -569,6 +575,12 @@
569575
"main"
570576
],
571577
"properties": {
578+
"type": {
579+
"type": "string",
580+
"$comment": "This pattern is intended to always fail in order to display the obsoletion message",
581+
"pattern": "^$",
582+
"patternErrorMessage": "This task type is deprecated. Use task type \"ada\" or \"spark\" instead."
583+
},
572584
"projectFile": {
573585
"type": "string",
574586
"description": "The project file"

0 commit comments

Comments
 (0)