2
0
mirror of https://github.com/iconify/collections-json.git synced 2024-09-16 17:19:03 +00:00

chore: we no longer expose internals

This commit is contained in:
Joaquín Sánchez Jiménez 2021-09-16 15:18:01 +02:00
parent 43e8825531
commit d389d11f93

View File

@ -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.