Skip to content

Commit

Permalink
fix missing cache folder creation check
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulMcInnis committed Oct 16, 2024
1 parent 39cd25b commit 6ced6c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
artistCacheFile,
cacheDir,
deleteOldCacheFiles,
ensureCacheDirectoryExists,
} from "./cache";
import { options } from "./cli";
import { displayAlbums } from "./display";
Expand Down Expand Up @@ -35,6 +36,7 @@ const daysBetween = (date1: Date, date2: Date) =>
// Main function to fetch and display albums
export async function scrape() {
logger.info("Starting Better Release Radar...");
ensureCacheDirectoryExists();

await authenticateSpotify();

Expand Down

0 comments on commit 6ced6c4

Please sign in to comment.