Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunnaye committed May 2, 2024
1 parent 4c1e6a5 commit 76c6e24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upsertGitHubTag/deployment/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ function logPayloadToS3(body, deliveryId) {
const uploadYear = date.getFullYear();
const uploadMonth = (date.getMonth() + 1 < 10 ? "0" : "") + (date.getMonth() + 1); // ex. get 05 instead of 5 for May

Check failure on line 271 in upsertGitHubTag/deployment/index.js

View workflow job for this annotation

GitHub Actions / linterWithESLint

Insert `⏎·····`

Check failure on line 271 in upsertGitHubTag/deployment/index.js

View workflow job for this annotation

GitHub Actions / linterWithESLint

Insert `⏎·····`
const uploadDate = (date.getDate() < 10 ? "0" : "") + date.getDate(); // ex. get 05 instead of 5 for the 5th date
const bucketPath = `${uploadYear}-${uploadMonth}-${uploadDate.getDate()}/${deliveryId}`;
const bucketPath = `${uploadYear}-${uploadMonth}-${uploadDate}/${deliveryId}`;

const command = new PutObjectCommand({
Bucket: process.env.BUCKET_NAME,
Expand Down

0 comments on commit 76c6e24

Please sign in to comment.