question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Skip anonymous data usage question when running in a non-tty mode

See original GitHub issue

Expected Behavior

Question for anonymous usage statistics should be skippable with a flag or detecting that there is no tty attached (to facilitate docker usage).

Current Behavior

When you run:

 clinic doctor -- node index.js

there is a question prompted that requires interaction:

May Clinic report anonymous usage statistics to improve the tool over time? (Y/n)

Environment

  • Clinic version: 2.0.0
  • Doctor version: 3.6.0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
RafaelGSScommented, Aug 25, 2022

@gerkenv would you like to include it in the README? That’s useful information.

1reaction
dgonzalezcommented, Nov 19, 2018

Actually wait. From Docker does nor prompt the question, only if it is run from a TTY so yes, works as expected. Excellent work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

988 Frequently Asked Questions - SAMHSA
FAQs About 988 Basics · What is 988? · Is 988 available for substance use crisis? · Does the 1-800-273-8255 number still work?...
Read more >
CircleCI build failed due to Google anonymous usage data ...
I was able to solve the issue by making few changes. New angular-cli@8 does not support node@8. So I change my code to...
Read more >
Questions and Answers on the Title IX Regulations on Sexual ...
Question 15: If a school trains or requires non-employees who interact with the school's students to report sexual harassment incidents, ...
Read more >
SRX - Juniper Elevate Community
Ask questions and share experiences about the SRX Series. ... Junos version 18.4R3-S2 on SRX does not authorize the "xml-mode netconf need-trailer" command ......
Read more >
Frequently Asked Questions on Lifeline - Assurance Wireless
What should I do if I no longer qualify for Assurance Wireless Lifeline service? ... Log into My Account to check your data...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found