Skip to content

Commit 2f332eb

Browse files
committed
Fix lint error
1 parent 8c5f334 commit 2f332eb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/worker-script/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ const load = ({ workerId, payload: { options: { corePath } } }, res) => {
3333
.then((_Module) => {
3434
Module = _Module;
3535
Module.setLogger((message, type) => {
36-
res.progress({ workerId, action, type, message });
36+
res.progress({
37+
workerId, action, type, message,
38+
});
3739
});
3840
ffmpeg = Module.cwrap('ffmpeg', 'number', ['number', 'number']);
3941
res.resolve(true);
@@ -74,7 +76,7 @@ exports.dispatchHandlers = (packet, send) => {
7476
res.reject = res.bind(this, 'reject');
7577
res.progress = res.bind(this, 'progress');
7678

77-
action = packet.action
79+
action = packet.action;
7880
try {
7981
({
8082
load,

0 commit comments

Comments
 (0)