Skip to content

Commit

Permalink
move var out of scope
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsoffer committed Dec 9, 2021
1 parent 02e2687 commit c914326
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/pocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,9 @@ const pocketImport = async () => {

const aggsLimitDate = new Date("2021-09-17");

let timeUnitMsg = "on day";

for (const day of days) {
let timeUnitMsg = "on day";
const dayISO = formatDate(day); // YYYY-MM-DD
const dateUnixTimestamp = day.getTime() / 1000;

Expand Down

0 comments on commit c914326

Please sign in to comment.