Skip to content

Commit

Permalink
Print last check date before fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKohler committed Oct 9, 2019
1 parent ceff659 commit 20a3d50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/fetch.js
Expand Up @@ -20,6 +20,8 @@ module.exports = {

async function fetchAll() {
const lastCheckDate = await storageHandler.getLastRepoCheckDate();
debug(`last check date was ${lastCheckDate}`);
debug(`current date: ${new Date()}`);

const [newRepositories, newestEdits] = await Promise.all([
githubHelper.getAll(lastCheckDate),
Expand Down

0 comments on commit 20a3d50

Please sign in to comment.