From 62ad731742ae14c17b86adb483032bc6cfa5ffd8 Mon Sep 17 00:00:00 2001 From: Heat Hamilton Date: Fri, 26 Jul 2024 14:47:10 -0400 Subject: [PATCH] Remove commented out code --- scripts/upload-source-maps.ts | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/scripts/upload-source-maps.ts b/scripts/upload-source-maps.ts index d7ded06a05..39953cf46f 100644 --- a/scripts/upload-source-maps.ts +++ b/scripts/upload-source-maps.ts @@ -64,27 +64,6 @@ const main = () => { console.log('Failed to delete source maps from pages dir') } - // https://github.com/DataDog/datadog-ci/tree/79c0edce658c54001327e8bbb3f1030e8f4ccc93/src/commands/deployment - // https://app.datadoghq.com/source-code/setup/apm?env=preview&service=developer.hashicorp.com&version= - // try { - // const DD_GIT_COMMIT_SHA = process.env.DD_GIT_COMMIT_SHA - // const DD_GIT_REPOSITORY_URL = process.env.DD_GIT_REPOSITORY_URL - - // const gitInfo = `--source-control-provider=git --source-control-repository-url=${DD_GIT_REPOSITORY_URL} --source-control-revision=${DD_GIT_COMMIT_SHA}` - - // const deployStatus = execSync( - // `DATADOG_API_KEY=${DATADOG_API_KEY} npx @datadog/datadog-ci deployments create ${gitInfo} --service=${SERVICE} --env=${process.env.VERCEL_ENV}` - // ) - - // deployStatus - // .toString() - // .split('\n') - // .forEach((line) => { - // console.log(line) - // }) - - // console.log('Deployment created successfully') - // } } main()