« get me outta code hell

finish up cosmetic style changes - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/gen-thumbs.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-11-26 23:44:08 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-11-26 23:44:08 -0400
commit003f594f6348b55109dd66416e75fcc2a88faade (patch)
treeb4cb05ed4e145e604356786a1d98926040fe5ff0 /src/gen-thumbs.js
parent768927503b5948b846b9a6cddf4b788ca9792e8c (diff)
finish up cosmetic style changes
Diffstat (limited to 'src/gen-thumbs.js')
-rw-r--r--src/gen-thumbs.js17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/gen-thumbs.js b/src/gen-thumbs.js
index 9151201..dc1f6fb 100644
--- a/src/gen-thumbs.js
+++ b/src/gen-thumbs.js
@@ -1,5 +1,4 @@
 #!/usr/bin/env node
-/** @format */
 
 // Ok, so the d8te is 3 March 2021, and the music wiki was initially released
 // on 15 November 2019. That is 474 days or 11376 hours. In my opinion, and
@@ -98,10 +97,10 @@ import {commandExists, isMain, promisifyProcess} from './util/node-utils.js';
 
 import {delay, queue} from './util/sugar.js';
 
-function traverse(
-  startDirPath,
-  {filterFile = () => true, filterDir = () => true} = {}
-) {
+function traverse(startDirPath, {
+  filterFile = () => true,
+  filterDir = () => true
+} = {}) {
   const recursive = (names, subDirPath) =>
     Promise.all(
       names.map((name) =>
@@ -197,10 +196,10 @@ function generateImageThumbnails(filePath, {spawnConvert}) {
   ]);
 }
 
-export default async function genThumbs(
-  mediaPath,
-  {queueSize = 0, quiet = false} = {}
-) {
+export default async function genThumbs(mediaPath, {
+  queueSize = 0,
+  quiet = false,
+} = {}) {
   if (!mediaPath) {
     throw new Error('Expected mediaPath to be passed');
   }