From 242ed33d26545fd05302f894091cd20eeca786f0 Mon Sep 17 00:00:00 2001 From: Konotorii <79553360+konotorii@users.noreply.github.com> Date: Sun, 25 Feb 2024 19:39:24 -0500 Subject: [PATCH] Trying stuff --- src/utility/index.ts | 3 +++ src/utility/src/scoresRead.ts | 6 ++---- 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 src/utility/index.ts diff --git a/src/utility/index.ts b/src/utility/index.ts new file mode 100644 index 0000000..a9e957d --- /dev/null +++ b/src/utility/index.ts @@ -0,0 +1,3 @@ +import {name as _scoresRead} from './src/scoresRead'; + +export const scoresRead = _scoresRead; \ No newline at end of file diff --git a/src/utility/src/scoresRead.ts b/src/utility/src/scoresRead.ts index b687ea2..418cd41 100644 --- a/src/utility/src/scoresRead.ts +++ b/src/utility/src/scoresRead.ts @@ -12,7 +12,7 @@ export interface types { * @returns {beatmaps} beatmap objects with scores */ -const name: types = async (path) => { +export const name: types = async (path) => { try { const file = fs.readFileSync(path) @@ -107,6 +107,4 @@ const name: types = async (path) => { console.log(err) return []; } -} - -export default name; \ No newline at end of file +} \ No newline at end of file