Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
laardee committed May 16, 2017
1 parent 0b04777 commit 789b3c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions video-service/create-captures/index.js
Expand Up @@ -33,7 +33,7 @@ const probeKeyframes = input =>
.then(data => JSON.parse(data))
.then(({ frames }) =>
frames
.filter(({ key_frame }) => key_frame === 1)
.filter(({ key_frame }) => key_frame === 1) // eslint-disable-line camelcase
.map(frame => ({ time: parseFloat(frame.pkt_pts_time) })));

/**
Expand Down Expand Up @@ -120,7 +120,7 @@ module.exports.handler = (event, context, callback) => {
frame,
}).then(() => {
const index = parseInt(frame.substr(frame.lastIndexOf('-') + 1), 10) - 1;
return insertLabels({ id, frame, time: timestamps[index].time })
return insertLabels({ id, frame, time: timestamps[index].time });
}));
return Promise.all(promises);
})
Expand Down

0 comments on commit 789b3c6

Please sign in to comment.