Skip to content

Commit

Permalink
Fix prettier test
Browse files Browse the repository at this point in the history
  • Loading branch information
garth committed Apr 23, 2020
1 parent 9755067 commit 1b4e90a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 1b4e90a

Please sign in to comment.