0
0
Fork 0

Allow "sheets" to be used in the config

This commit is contained in:
Oliver-Akins 2021-01-11 16:34:17 -07:00
parent f5a2de29de
commit 6f3301e1c9

View file

@ -12,7 +12,7 @@ export class Validate {
};
// 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}`);
valid = false;
};