diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-02-16 09:39:14 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-02-16 10:28:02 -0400 |
commit | 7a3038b982c4d318e146698527070f096591aa4f (patch) | |
tree | 02ef22e2c740dc02f073189718a315afff100fe5 /src/content-function.js | |
parent | 2b0a5231170049bc4fd7f44009c9f32b1404d5a5 (diff) |
sugar: move many functions into new #aggregate import
Diffstat (limited to 'src/content-function.js')
-rw-r--r-- | src/content-function.js | 9 |
1 files changed, 2 insertions, 7 deletions
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}); |