Skip to content

Commit

Permalink
Trying stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
konotorii committed Feb 26, 2024
1 parent a562fbc commit 242ed33
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 3 additions & 0 deletions src/utility/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import {name as _scoresRead} from './src/scoresRead';

export const scoresRead = _scoresRead;
6 changes: 2 additions & 4 deletions src/utility/src/scoresRead.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -107,6 +107,4 @@ const name: types = async (path) => {
console.log(err)
return [];
}
}

export default name;
}

0 comments on commit 242ed33

Please sign in to comment.