Skip to content

Commit 679fed0

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0f7c371 commit 679fed0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/scripts/fetchData.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ const SPEAKERS_URL = "https://programapi24.europython.eu/2024/speakers.json";
1111
const SCHEDULE_URL = "https://programapi24.europython.eu/2024/schedule.json";
1212

1313
// Define output directory and file paths
14-
const DATA_DIR = path.join(__dirname, '../data');
15-
const SESSIONS_FILE = path.join(DATA_DIR, 'sessions.json');
16-
const SPEAKERS_FILE = path.join(DATA_DIR, 'speakers.json');
17-
const SCHEDULE_FILE = path.join(DATA_DIR, 'schedule.json');
14+
const DATA_DIR = path.join(__dirname, "../data");
15+
const SESSIONS_FILE = path.join(DATA_DIR, "sessions.json");
16+
const SPEAKERS_FILE = path.join(DATA_DIR, "speakers.json");
17+
const SCHEDULE_FILE = path.join(DATA_DIR, "schedule.json");
1818

1919
// Ensure data directory exists
2020
fs.mkdirSync(DATA_DIR, { recursive: true });

0 commit comments

Comments
 (0)