Skip to content

Commit

Permalink
Unify parens into curly braces
Browse files Browse the repository at this point in the history
  • Loading branch information
Rindrics committed Jun 13, 2024
1 parent a376d43 commit 87083ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $(BUILD_DIR): $(SRC_FILES) $(NODE_MODULES)
build: $(BUILD_DIR)

run: build
node ./bin/index.js --profile "${AWS_PROFILE}" --access-key "${ACCESS_KEY}" --secret-key "${SECRET_KEY}" --role-arn "${ROLE_ARN}" --region "${AWS_REGION}" -S $(SLACK_TOKEN_AWS_COST_CLI) -C $(SLACK_CHANNEL_ID) --breakdown-period $(BREAKDOWN_PERIOD)
node ./bin/index.js --profile "${AWS_PROFILE}" --access-key "${ACCESS_KEY}" --secret-key "${SECRET_KEY}" --role-arn "${ROLE_ARN}" --region "${AWS_REGION}" -S "${SLACK_TOKEN_AWS_COST_CLI}" -C "${SLACK_CHANNEL_ID}" --breakdown-period "${BREAKDOWN_PERIOD}"

test:
pnpm test
Expand Down
2 changes: 2 additions & 0 deletions src/cost.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ describe('Cost Functions', () => {
},
};

console.log(expectedTotalCosts);

const roundToTwoDecimals = (num: number) => Math.round(num * 100) / 100;

Object.keys(totalCosts.totals).forEach((key) => {
Expand Down

0 comments on commit 87083ae

Please sign in to comment.