Skip to content

Commit

Permalink
Revert formatting change
Browse files Browse the repository at this point in the history
  • Loading branch information
leefreemanxyz committed Mar 25, 2024
1 parent b7ec98c commit a7710bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/file/src/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -59,6 +59,6 @@ export class File extends Blob {
* @param {*} error
* @returns {never}
*/
const panic = (error) => {
const panic = error => {
throw error
}

0 comments on commit a7710bd

Please sign in to comment.