Skip to content

Commit

Permalink
4.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
synzen committed Jan 10, 2019
1 parent 0812375 commit 352a3d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "discord.rss",
"version": "4.0.1",
"version": "4.0.2",
"description": "Discord RSS bot with customizable feeds",
"main": "index.js",
"author": "synzen",
Expand Down
4 changes: 2 additions & 2 deletions update.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ if (config.database.uri.startsWith('mongo')) {
if (c === docs.length) db.close()
})
} else {
console.log(`Completed ${guildRss.id} (${++c}/${docs.length})`)
console.log(`Completed ${guildRss.id} (${++c}/${docs.length}) [No Change]`)
if (c === docs.length) db.close()
}
})
Expand All @@ -81,7 +81,7 @@ if (config.database.uri.startsWith('mongo')) {
if (err) throw err
// Now overwrite the old with the new if necessary
const changed = updateGuildRss(guildRss)
if (!changed) console.log(`Completed ${guildRss.id} (${++c}/${fileNames.length})`)
if (!changed) console.log(`Completed ${guildRss.id} (${++c}/${fileNames.length}) [No Change]`)
else {
fs.writeFile(`${folderPath}/${fileName}`, JSON.stringify(guildRss, null, 2), err => {
if (err) throw err
Expand Down

0 comments on commit 352a3d0

Please sign in to comment.