« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/content-function.js2
-rw-r--r--src/data/composite.js3
-rw-r--r--src/data/things/language.js1
3 files changed, 1 insertions, 5 deletions
diff --git a/src/content-function.js b/src/content-function.js
index dcb23f7d..8c7c4e2e 100644
--- a/src/content-function.js
+++ b/src/content-function.js
@@ -514,7 +514,7 @@ export function getNeededContentDependencyNames(contentDependencies, name) {
 }
 
 export const decorateErrorWithRelationStack = (fn, traceStack) =>
-  decorateError(fn, (caughtError, ...args) => {
+  decorateError(fn, caughtError => {
     let cause = caughtError;
 
     for (const {name, args, traceError} of traceStack.slice().reverse()) {
diff --git a/src/data/composite.js b/src/data/composite.js
index 113f0a4f..4f89d887 100644
--- a/src/data/composite.js
+++ b/src/data/composite.js
@@ -750,9 +750,6 @@ export function compositeFrom(description) {
   const anyStepsCompute =
     stepsCompute.includes(true);
 
-  const anyStepsTransform =
-    stepsTransform.includes(true);
-
   const compositionExposes =
     anyStepsExpose;
 
diff --git a/src/data/things/language.js b/src/data/things/language.js
index c576a316..6bd5a78a 100644
--- a/src/data/things/language.js
+++ b/src/data/things/language.js
@@ -185,7 +185,6 @@ export class Language extends Thing {
     // These will be filled up as we iterate over the template, slotting in
     // each option (if it's present).
     const missingOptionNames = new Set();
-    const outputParts = [];
 
     // And this will have entries deleted as they're encountered in the
     // template. Leftover entries are misplaced.