From 7a3038b982c4d318e146698527070f096591aa4f Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 16 Feb 2024 09:39:14 -0400 Subject: sugar: move many functions into new #aggregate import --- src/content-function.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/content-function.js') diff --git a/src/content-function.js b/src/content-function.js index 8c7c4e2..16b1864 100644 --- a/src/content-function.js +++ b/src/content-function.js @@ -1,14 +1,9 @@ import {inspect as nodeInspect} from 'node:util'; +import {decorateError} from '#aggregate'; import {colors, ENABLE_COLOR} from '#cli'; import {Template} from '#html'; - -import { - annotateFunction, - decorateError, - empty, - setIntersection, -} from '#sugar'; +import {annotateFunction, empty, setIntersection} from '#sugar'; function inspect(value, opts = {}) { return nodeInspect(value, {colors: ENABLE_COLOR, ...opts}); -- cgit 1.3.0-6-gf8a5