Skip to content

Commit

Permalink
Debug formap file
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriibudko committed Dec 6, 2023
1 parent aff081c commit fc0d95c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class Loader {
this.log('data cache not initialized')
}
// Fetch data once a day
if (!cachedData || date.getDate() !== cachedData.timestamp) {
// if (!cachedData || date.getDate() !== cachedData.timestamp) {
const data = await this.fetchData(this.baseUrl)

Check failure on line 53 in lib/loader.js

View workflow job for this annotation

GitHub Actions / Code quality

Delete `··`
try {

Check failure on line 54 in lib/loader.js

View workflow job for this annotation

GitHub Actions / Code quality

Delete `··`
fs.writeFileSync(

Check failure on line 55 in lib/loader.js

View workflow job for this annotation

GitHub Actions / Code quality

Delete `··`
Expand All @@ -64,7 +64,7 @@ class Loader {
}

cachedData = data
}
// }
return cachedData
}
}
Expand Down

0 comments on commit fc0d95c

Please sign in to comment.