Skip to content

Commit

Permalink
fix(metrics): fix incorrect variable used in metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
azlam-abdulsalam committed Jan 25, 2024
1 parent ddcbd2c commit 549c334
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/sfp-cli/src/commands/metrics/report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ export default class Report extends sfpCommand {
if (
!(
process.env.SFPOWERSCRIPTS_STATSD ||
process.env.SFPOWERSCRIPTS_STATSD_DATADOG ||
process.env.SFPOWERSCRIPTS_STATSD_NEWRELIC ||
process.env.SFPOWERSCRIPTS_STATSD_SPLUNK
process.env.SFPOWERSCRIPTS_DATADOG ||
process.env.SFPOWERSCRIPTS_NEWRELIC ||
process.env.SFPOWERSCRIPTS_SPLUNK
)
) {
throw new Error('Environment variable not set for metrics. No metrics will be published.');
Expand Down

0 comments on commit 549c334

Please sign in to comment.