From 2fcc9c2442b8a4918c32f4f52e2f4a75b1cb6a8d Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Mon, 18 Jan 2021 15:52:49 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Corrige=20les=20tests=20serializeEv?= =?UTF-8?q?aluation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- publicodes/core/source/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publicodes/core/source/index.ts b/publicodes/core/source/index.ts index bdf9d3fe3..2e6086ac7 100644 --- a/publicodes/core/source/index.ts +++ b/publicodes/core/source/index.ts @@ -78,7 +78,7 @@ export default class Engine { options: Options constructor( - rules: string | Record | ParsedRules, + rules: string | Record | ParsedRules = {}, options: Partial = {} ) { this.options = { ...options, logger: options.logger ?? console }