mirror of
https://github.com/web3privacy/events.git
synced 2024-10-15 12:06:27 +02:00
fix rom2 id
This commit is contained in:
parent
d004edf460
commit
3090cdae6d
3 changed files with 8 additions and 2 deletions
|
@ -46,7 +46,7 @@ research and community of [Web3Privacy Now](https://web3privacy.info).
|
|||
| meetup | `lju1` | 2024/Jun | 🇸🇮 Ljubljana | - | W3PN Hackathon | - | |
|
||||
| meetup | `bcn2` | 2024/Jul | 🇪🇸 Barcelona | - | ETHBarcelona (?) | - | |
|
||||
| meetup | `bru1` | 2024/Jul | 🇧🇪 Brussels | - | [EthCC 7](https://www.ethcc.io/) | - | |
|
||||
| meetup | `rom1` | 2024/Oct | 🇮🇹 Rome | - | ETHRome 2024 | - | |
|
||||
| meetup | `rom2` | 2024/Oct | 🇮🇹 Rome | - | ETHRome 2024 | - | |
|
||||
| summit | `s3` | 2024/Nov | 🇨🇿 Brno | - | ETHBrno 2024 | - | |
|
||||
| meetup | `dvc1` | 2024/Q4 | 🏴☠️ SE Asia | - | [Devcon 7](https://devcon.org/) | - | |
|
||||
|
||||
|
|
|
@ -103,7 +103,7 @@
|
|||
country: be
|
||||
coincidence: "[EthCC 7](https://www.ethcc.io/)"
|
||||
|
||||
- id: w3pm-rom1
|
||||
- id: w3pm-rom2
|
||||
type: meetup
|
||||
date: "2024/Oct"
|
||||
city: Rome
|
||||
|
|
6
index.js
6
index.js
|
@ -24,12 +24,18 @@ async function test() {
|
|||
const validator = ajv.compile(schema);
|
||||
|
||||
const list = await _loadYaml(`./events/events.yaml`);
|
||||
const ids = [];
|
||||
|
||||
for (const item of list) {
|
||||
Deno.test(`${item.id}`, async () => {
|
||||
if (!validator(item)) {
|
||||
throw validator.errors;
|
||||
}
|
||||
if (ids.includes(item.id)) {
|
||||
throw `ID exists: ${item.id}`
|
||||
}
|
||||
|
||||
ids.push(item.id)
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue