Allow "sheets" to be used in the config
This commit is contained in:
parent
f5a2de29de
commit
6f3301e1c9
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ export class Validate {
|
||||||
};
|
};
|
||||||
|
|
||||||
// Assert data in the game object
|
// Assert data in the game object
|
||||||
if (![`csv`].includes(conf.game.cards.type)) {
|
if (![`csv`, `sheets`].includes(conf.game.cards.type)) {
|
||||||
log.error(`Unsupported cards type: ${conf.game.cards.type}`);
|
log.error(`Unsupported cards type: ${conf.game.cards.type}`);
|
||||||
valid = false;
|
valid = false;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue