From 7b4751d54470d0b642240ac379b29da9288da884 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Sun, 11 Jul 2021 01:40:57 +0000 Subject: [PATCH] lmao --- tools/depgraph.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/depgraph.js b/tools/depgraph.js index 2862f44..3fdee15 100644 --- a/tools/depgraph.js +++ b/tools/depgraph.js @@ -244,7 +244,10 @@ async function getLanguageTestArtifact({ lang }) { const hash = (await fs.readFile(hashPath, "utf-8")).trim(); const S3_BUCKET = getS3Bucket(); await runCommand( - `aws s3 cp ${hashPath} s3://${S3_BUCKET}/test-hashes/lang/${lang}/${hash}` + `aws s3 rm --recursive s3://${S3_BUCKET}/test-hashes/lang/${lang}`, + ); + await runCommand( + `aws s3 cp ${hashPath} s3://${S3_BUCKET}/test-hashes/lang/${lang}/${hash}`, ); }, };