Skip to content

Commit

Permalink
chore: Replace datadog_api_key with dd_api_key (#2539)
Browse files Browse the repository at this point in the history
  • Loading branch information
heatlikeheatwave authored Aug 8, 2024
1 parent f0b9952 commit efb6ca9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ module.exports = withHashicorp({
config.plugins.push(HashiConfigPlugin())

if (
typeof process.env.DATADOG_API_KEY !== 'undefined' &&
typeof process.env.DD_API_KEY !== 'undefined' &&
process.env.VERCEL_ENV &&
process.env.VERCEL_ENV !== 'development'
) {
Expand Down
2 changes: 1 addition & 1 deletion scripts/upload-source-maps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { execSync } from 'child_process'
*/
const main = () => {
if (
typeof process.env.DATADOG_API_KEY === 'undefined' ||
typeof process.env.DD_API_KEY === 'undefined' ||
typeof process.env.VERCEL_ENV === 'undefined' ||
process.env.VERCEL_ENV === 'development'
) {
Expand Down

0 comments on commit efb6ca9

Please sign in to comment.