diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-02-16 09:15:33 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-02-16 09:15:33 -0400 |
commit | cf1be875ce9fb21dfa3bdd48c29a043ba13a3fa7 (patch) | |
tree | a9434814632694870d7d92e6a3c6271cc4b3b166 /src | |
parent | 877d56392cd17390db5bf6294656cbc66bc568b6 (diff) |
more eslint fixes
Oops we accidentally excluded this from #415.
Diffstat (limited to 'src')
-rw-r--r-- | src/content-function.js | 2 | ||||
-rw-r--r-- | src/data/composite.js | 3 | ||||
-rw-r--r-- | src/data/things/language.js | 1 |
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. |