From cf1be875ce9fb21dfa3bdd48c29a043ba13a3fa7 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 16 Feb 2024 09:15:33 -0400 Subject: more eslint fixes Oops we accidentally excluded this from #415. --- src/content-function.js | 2 +- src/data/composite.js | 3 --- src/data/things/language.js | 1 - 3 files changed, 1 insertion(+), 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. -- cgit 1.3.0-6-gf8a5