Commit 41ef648
authored
Add "one URL per line" desc to relatedLink / softwareRequirements fields (#65)
When user put multiple URLs in one line for Related Links, the generator will warn:
> Bug detected! The data you wrote is correct; but for some reason, it seems we generated an invalid codemeta.json.
Put a field description to guide the user.
Note that relatedLink and softwareRequirements have different behaviour:
- relatedLink will still put invalid URL (a string with multiple URLs) in the JSON
- softwareRequirements on the other hand will be an empty list instead1 parent 57dfec6 commit 41ef648
1 file changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
178 | 181 | | |
179 | 182 | | |
180 | 183 | | |
| |||
206 | 209 | | |
207 | 210 | | |
208 | 211 | | |
| 212 | + | |
| 213 | + | |
209 | 214 | | |
210 | 215 | | |
211 | 216 | | |
| |||
333 | 338 | | |
334 | 339 | | |
335 | 340 | | |
336 | | - | |
337 | | - | |
338 | | - | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
339 | 344 | | |
340 | 345 | | |
341 | 346 | | |
| |||
0 commit comments