Skip to content

Commit

Permalink
Logging consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
MattieTK committed May 18, 2020
1 parent b00d26b commit 59aba46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ const checkIPonRecord = async function (record: VercelRecord): Promise<boolean>
}
const IP = await publicIP.v4();
if (IP && IP == record.value) {
console.log("IP matches ", IP)
console.log("IP matches :: ", IP)
return true
}
else {
console.log("IP match failed against ", IP)
console.log("IP match failed against :: ", IP)
return false
}

Expand Down Expand Up @@ -92,7 +92,7 @@ const loop = async function () {
}

const timeout = function (time: number): Promise<any> {
console.log(`Sleeping for ${time} seconds`)
console.log(`Sleeping :: ${time} seconds`)
return new Promise((resolve, reject) => {
setTimeout(() => { resolve(); }, time * 1000)
})
Expand Down

0 comments on commit 59aba46

Please sign in to comment.