Skip to content

Commit 4e3081c

Browse files
committed
Update schema file
1 parent 964b8ef commit 4e3081c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/tools/generateOptionsSchema.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ function generateLocForProperty(key: string, prop: any, keyToLocString: any): vo
176176
if (comments.length > 0) {
177177
keyToLocString[descriptionKey] = {
178178
message: prop.description,
179-
comments: comments,
179+
comment: comments,
180180
};
181181
} else {
182182
keyToLocString[descriptionKey] = prop.description;
@@ -192,7 +192,7 @@ function generateLocForProperty(key: string, prop: any, keyToLocString: any): vo
192192
if (comments.length > 0) {
193193
keyToLocString[markdownDescriptionKey] = {
194194
message: prop.markdownDescription,
195-
comments: comments,
195+
comment: comments,
196196
};
197197
} else {
198198
keyToLocString[markdownDescriptionKey] = prop.markdownDescription;
@@ -208,7 +208,7 @@ function generateLocForProperty(key: string, prop: any, keyToLocString: any): vo
208208
if (comments.length > 0) {
209209
keyToLocString[settingsDescriptionKey] = {
210210
message: prop.settingsDescription,
211-
comments: comments,
211+
comment: comments,
212212
};
213213
} else {
214214
keyToLocString[settingsDescriptionKey] = prop.settingsDescription;
@@ -224,7 +224,7 @@ function generateLocForProperty(key: string, prop: any, keyToLocString: any): vo
224224
if (comments.length > 0) {
225225
keyToLocString[descriptionKey] = {
226226
message: prop.deprecationMessage,
227-
comments: comments,
227+
comment: comments,
228228
};
229229
} else {
230230
keyToLocString[descriptionKey] = prop.deprecationMessage;

0 commit comments

Comments
 (0)