Skip to content

Commit

Permalink
Update formatting
Browse files Browse the repository at this point in the history
This became necessary after the update to Prettier 3.0.
  • Loading branch information
cruessler committed Jul 7, 2023
1 parent 0ce18a4 commit e55b1cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ const worker = new Worker(new URL("./worker.js", import.meta.url), {
app.ports.sendCommand.subscribe((command) => worker.postMessage(command));

worker.addEventListener("message", (event) =>
app.ports.receiveResult.send(event.data)
app.ports.receiveResult.send(event.data),
);
2 changes: 1 addition & 1 deletion app/js/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Elm } from "../elm/Worker.elm";
const worker = Elm.Worker.init();

self.addEventListener("message", (event) =>
worker.ports.receiveCommand.send(event.data)
worker.ports.receiveCommand.send(event.data),
);

worker.ports.sendResult.subscribe((result) => self.postMessage(result));

0 comments on commit e55b1cf

Please sign in to comment.