Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Update text for dev event tracking opt-in question
Browse files Browse the repository at this point in the history
  • Loading branch information
janedegtiareva committed Apr 23, 2020
1 parent 2a80c73 commit 9ae4d96
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utils/eventtracking.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ const track = async (eventType, eventProperties) => {
const answer = await new Promise((resolve) => {

rl.question(
chalk`We would like to collect data on near shell usage to improve developer experience. {bold.yellow Would you like to opt in (y/n)?}`,
chalk`We would like to collect data on near-shell usage to improve developer experience.` +
chalk ` We will never send private information. We only collect which commands are run via an anonymous identifier.` +
chalk`{bold.yellow Would you like to opt in (y/n)?}`,
async (consentToEventTracking) => {
if (consentToEventTracking == 'y' || consentToEventTracking == 'Y') {
resolve(true);
Expand Down

0 comments on commit 9ae4d96

Please sign in to comment.