Skip to content

Commit

Permalink
Trim paths before string.join().
Browse files Browse the repository at this point in the history
  • Loading branch information
GabuTheDev committed Jan 29, 2025
1 parent d1ea415 commit 4dbdb93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/tosu/src/states/beatmap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -340,9 +340,9 @@ export class BeatmapPP extends AbstractState {
}

const mapPath = path.join(
global.songsFolder,
menu.folder,
menu.filename
global.songsFolder.trim(),
menu.folder.trim(),
menu.filename.trim()
);

try {
Expand Down

0 comments on commit 4dbdb93

Please sign in to comment.