aboutsummaryrefslogtreecommitdiff
path: root/src/api/utils/videoPreview/FrameIntervalPreview.js
diff options
context:
space:
mode:
authorZephyrrus <[email protected]>2020-12-24 10:40:50 +0200
committerZephyrrus <[email protected]>2020-12-24 10:40:50 +0200
commit90001c2df56d58e69fd199a518ae7f3e4ed327fc (patch)
treeac601537b5f464a1b03b084e5139e460f42e3473 /src/api/utils/videoPreview/FrameIntervalPreview.js
parentchore: update lock files (diff)
downloadhost.fuwn.me-90001c2df56d58e69fd199a518ae7f3e4ed327fc.tar.xz
host.fuwn.me-90001c2df56d58e69fd199a518ae7f3e4ed327fc.zip
chore: remove trailing commas
Diffstat (limited to 'src/api/utils/videoPreview/FrameIntervalPreview.js')
-rw-r--r--src/api/utils/videoPreview/FrameIntervalPreview.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/utils/videoPreview/FrameIntervalPreview.js b/src/api/utils/videoPreview/FrameIntervalPreview.js
index 8c5f1c3..8bb9836 100644
--- a/src/api/utils/videoPreview/FrameIntervalPreview.js
+++ b/src/api/utils/videoPreview/FrameIntervalPreview.js
@@ -16,7 +16,7 @@ module.exports = async (opts) => {
output,
numFrames,
- numFramesPercent = 0.05,
+ numFramesPercent = 0.05
} = opts;
const info = await probe(input);
@@ -32,7 +32,7 @@ module.exports = async (opts) => {
const result = {
output,
- numFrames: numFramesToCapture,
+ numFrames: numFramesToCapture
};
await new Promise((resolve, reject) => {