fix: fix formatting issue.
[poolifier.git] / benchmarks / internal / thread-worker.mjs
index 855ba62225e50513a1375eb84806a4c077cf61e2..94250a3abae973fa06f62d09ca904ddd0ac97a19 100644 (file)
@@ -5,11 +5,11 @@ import { TaskFunctions } from '../benchmarks-types.mjs'
 
 const debug = false
 
-const taskFunction = (data) => {
+const taskFunction = data => {
   data = data || {}
   data.function = data.function || TaskFunctions.jsonIntegerSerialization
   const res = executeTaskFunction(data)
-  debug === true && console.debug('This is the main thread ' + isMainThread)
+  debug === true && console.debug(`This is the main thread ${isMainThread}`)
   return res
 }