« get me outta code hell

Revert "infra: report who sourced unfulfilled relations" - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/write/build-modes
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-06-02 09:36:48 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-06-02 09:36:48 -0300
commit405e52004060d6db628010c8593d5663ea1f3032 (patch)
treee9760af727beaa2147a8481c94f277dc65ccc1d2 /src/write/build-modes
parente09e11f1b933fa67f07c9f5e4340466f89672c8b (diff)
Revert "infra: report who sourced unfulfilled relations"
This reverts commit e09e11f1b933fa67f07c9f5e4340466f89672c8b.
Diffstat (limited to 'src/write/build-modes')
-rw-r--r--src/write/build-modes/live-dev-server.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/write/build-modes/live-dev-server.js b/src/write/build-modes/live-dev-server.js
index 3d29a83f..10b40cf0 100644
--- a/src/write/build-modes/live-dev-server.js
+++ b/src/write/build-modes/live-dev-server.js
@@ -33,7 +33,6 @@ import {
   flattenRelationsTree,
   getRelationsTree,
   getNeededContentDependencyNames,
-  sourceAnnotation,
 } from '../../content-function.js';
 
 const defaultHost = '0.0.0.0';
@@ -430,16 +429,11 @@ export async function go({
 
       const slotResults = {};
 
-      function runContentFunction({
-        name,
-        args,
-        relations: flatRelations,
-        [sourceAnnotation]: sourceName,
-      }) {
+      function runContentFunction({name, args, relations: flatRelations}) {
         const contentFunction = fulfilledContentDependencies[name];
 
         if (!contentFunction) {
-          throw new Error(`Content function ${name} unfulfilled or not listed (from ${sourceName})`);
+          throw new Error(`Content function ${name} unfulfilled or not listed`);
         }
 
         const sprawl =