From fae12ff157d3c5964e4b4fa46cdb334769af5aaf Mon Sep 17 00:00:00 2001 From: Lee Freeman Date: Thu, 7 Mar 2024 17:30:08 +0100 Subject: [PATCH] Revert formatting change --- packages/file/src/file.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/file/src/file.js b/packages/file/src/file.js index 65d1bd9..ed6bdd9 100644 --- a/packages/file/src/file.js +++ b/packages/file/src/file.js @@ -12,7 +12,7 @@ export class File extends Blob { constructor( init, name = panic(new TypeError("File constructor requires name argument")), - options = {}, + options = {} ) { super(init, options) // Per File API spec https://w3c.github.io/FileAPI/#file-constructor @@ -59,6 +59,6 @@ export class File extends Blob { * @param {*} error * @returns {never} */ -const panic = (error) => { +const panic = error => { throw error }