« get me outta code hell

data: earlyExit -> exit in misc. utility names - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/thing.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-09-07 10:10:44 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-09-07 10:10:44 -0300
commit3437936e6127192d30a308b68731cd4aa33555e7 (patch)
tree37fd15d4cbb4653342c33b190496a8cbe311a6c1 /src/data/things/thing.js
parentc86de8a2be3867c14ca92c8e6799fd9b325305ec (diff)
data: earlyExit -> exit in misc. utility names
Diffstat (limited to 'src/data/things/thing.js')
-rw-r--r--src/data/things/thing.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/data/things/thing.js b/src/data/things/thing.js
index 1077a65..5d40715 100644
--- a/src/data/things/thing.js
+++ b/src/data/things/thing.js
@@ -10,7 +10,7 @@ import {filterMultipleArrays, getKebabCase} from '#wiki-data';
 
 import {
   from as compositeFrom,
-  earlyExitWithoutDependency,
+  exitWithoutDependency,
   exposeDependency,
   raiseWithoutDependency,
 } from '#composite';
@@ -389,7 +389,7 @@ export function withResolvedReference({
 }) {
   return compositeFrom(`withResolvedReference`, [
     raiseWithoutDependency(ref, {map: {to}, raise: {to: null}}),
-    earlyExitWithoutDependency(data),
+    exitWithoutDependency(data),
 
     {
       options: {findFunction, earlyExitIfNotFound},
@@ -426,8 +426,7 @@ export function withResolvedReferenceList({
   }
 
   return compositeFrom(`withResolvedReferenceList`, [
-    earlyExitWithoutDependency(data, {value: []}),
-
+    exitWithoutDependency(data, {value: []}),
     raiseWithoutDependency(list, {
       map: {to},
       raise: {to: []},
@@ -471,7 +470,7 @@ export function withReverseReferenceList({
   to = '#reverseReferenceList',
 }) {
   return compositeFrom(`Thing.common.reverseReferenceList`, [
-    earlyExitWithoutDependency(data, {value: []}),
+    exitWithoutDependency(data, {value: []}),
 
     {
       dependencies: ['this'],