Skip to content

Commit

Permalink
hide SERVICESTACK_TELEMETRY_OPTOUT msg if set
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Nov 21, 2024
1 parent 52e3590 commit ba29f5c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -360,11 +360,13 @@ Options:
--qs <key=value> Add query string to Add ServiceStack Reference URL
--verbose Display verbose logging
--ignore-ssl-errors Ignore SSL Errors
This tool collects anonymous usage to determine the most used languages to improve your experience.
To disable set SERVICESTACK_TELEMETRY_OPTOUT=1 environment variable to 1 using your favorite shell.
`
console.log(USAGE.trim())
if (process.env.SERVICESTACK_TELEMETRY_OPTOUT == null) {
console.log(`\nThis tool collects anonymous usage to determine the most used languages to improve your experience.
To disable set SERVICESTACK_TELEMETRY_OPTOUT=1 environment variable to 1 using your favorite shell.`)
}

return exitCode
}

Expand Down

0 comments on commit ba29f5c

Please sign in to comment.