From 1b4e90a5038abfda3fa884c386a0bebc8afd9977 Mon Sep 17 00:00:00 2001 From: Garth Williams Date: Thu, 23 Apr 2020 23:21:11 +0200 Subject: [PATCH] Fix prettier test --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 55f5743f..617d4178 100644 --- a/src/index.ts +++ b/src/index.ts @@ -134,9 +134,9 @@ export function setCookie( if (isBrowser()) { if (options && options.httpOnly) { - throw new Error("Can not set a httpOnly cookie in the browser.") + throw new Error('Can not set a httpOnly cookie in the browser.') } - + document.cookie = cookie.serialize(name, value, options) }