Skip to content

Commit

Permalink
Adding node to the dev container (#305)
Browse files Browse the repository at this point in the history
* Adding node to the container so that it is installed when we need to debug the spend notifier function

* Formatting and taking unecesary statements out
  • Loading branch information
sylviamclaughlin authored Oct 8, 2024
1 parent f12ea58 commit ed4c623
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
},
"ghcr.io/dhoeric/features/terraform-docs:1": {
"version": "latest"
}
},
"ghcr.io/devcontainers/features/node:1": {}
}

// Features to add to the dev container. More info: https://containers.dev/features.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ async function getDailyAccountCost() {
const dayToday = today.toISOString().split("T")[0];
const yesterday = new Date(new Date().setDate(today.getDate() - 1)).toISOString().split("T")[0];
const dayBeforeYesterday = new Date(new Date().setDate(today.getDate() - 2)).toISOString().split("T")[0];

// construct params for cost explorer
const paramsYesterday = {
Granularity: "DAILY",
Expand Down

0 comments on commit ed4c623

Please sign in to comment.