Skip to content

Commit

Permalink
update package-lock.json and add console log
Browse files Browse the repository at this point in the history
  • Loading branch information
lluisd committed Apr 2, 2024
1 parent 47c88aa commit d7576b8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ async function updateClients() {

const updatedIds = [...new Set([...ipsForClient])];

console.log(`Client ${client.name} has IPs: ${originalClientIps} and updated IPs: ${updatedIds}`)
if (!arraysEqual(originalClientIps, updatedIds)) {
client.ids = updatedIds.concat(client.ids.filter(id => !isIp(id)));
const updateObj = {
Expand Down
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d7576b8

Please sign in to comment.