File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
csaf_2_1/recommendedTests Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -58,9 +58,11 @@ export function recommendedTest_6_2_39_2(doc) {
5858 The `ctx` variable holds the state that is accumulated during the test run and is
5959 finally returned by the function.
6060 */
61+ /** @type { {warnings: Array<{ message: string; instancePath: string }>;
62+ * infos: Array<{ message: string; instancePath: string }> }} */
6163 const ctx = {
62- warnings :
63- /** @type { Array<{ instancePath: string; message: string }> } */ ( [ ] ) ,
64+ warnings : [ ] ,
65+ infos : [ ] ,
6466 }
6567
6668 const noteCategory = 'description'
@@ -74,7 +76,7 @@ export function recommendedTest_6_2_39_2(doc) {
7476 'reasoning_for_withdrawal'
7577 )
7678 if ( ! withdrawalInDocLang ) {
77- ctx . warnings . push ( {
79+ ctx . infos . push ( {
7880 instancePath : '/document/notes' ,
7981 message :
8082 'no language specific translation for "Reasoning for Withdrawal" has been recorded' ,
You can’t perform that action at this time.
0 commit comments