From 63154be24aa7cf3c9f81cb298bfdbdfc29a2b793 Mon Sep 17 00:00:00 2001 From: Julia Friesel <julia.friesel@gmail.com> Date: Thu, 2 Aug 2018 10:46:50 +0200 Subject: [PATCH] Shorten line lengths in sympto --- lib/sympto/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/sympto/index.js b/lib/sympto/index.js index b9306380..c85b3ca1 100644 --- a/lib/sympto/index.js +++ b/lib/sympto/index.js @@ -4,7 +4,8 @@ import getPreOvulatoryPhase from './pre-ovulatory' import { LocalDate } from 'js-joda' import assert from 'assert' -export default function getSymptoThermalStatus({ cycle, previousCycle, earlierCycles = [] }) { +export default function getSymptoThermalStatus(cycles) { + const { cycle, previousCycle, earlierCycles = [] } = cycles throwIfArgsAreNotInRequiredFormat([cycle, ...earlierCycles]) const status = { -- GitLab