From d389d11f93ce57109c3492c0b5d59155e25fb8b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joaqu=C3=ADn=20S=C3=A1nchez=20Jim=C3=A9nez?= Date: Thu, 16 Sep 2021 15:18:01 +0200 Subject: [PATCH] chore: we no longer expose internals --- lib/finder.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/finder.ts b/lib/finder.ts index 6e11dbf..7bebb43 100644 --- a/lib/finder.ts +++ b/lib/finder.ts @@ -393,7 +393,7 @@ const dir = resolve(_dirname, '..') * * @returns {string} */ -export const rootDir = () => dir +const rootDir = () => dir /** * Locate JSON file @@ -401,7 +401,7 @@ export const rootDir = () => dir * @param {string} name Collection name * @returns {string} Path to collection json file */ -export const locate = (name: string): PathLike => `${dir}/json/${name}.json` +const locate = (name: string): PathLike => `${dir}/json/${name}.json` /** * Loads a collection.