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.

silent does not always work

See original GitHub issue

node 8.9.1 shelljs 0.8.1 mac osx

I expect this code to not produce any output but it does.

const shell = require('shelljs');

shell.exec('git rev-parse --abbrev-ref  master2@{upstream}', {silent:true});

Run it in a git repository that does not have a branch master2 and you should see an error printed

exec: fatal: no such branch: 'master2'

Issue Analytics

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

github_iconTop GitHub Comments

4reactions
uttpalcommented, Jun 23, 2018

@nfischer I raised a pr can you take a look, thanks!

0reactions
nfischercommented, Oct 24, 2018

@RamyRais the PR should be good, but I want to fix CI first. I’ll try to work on this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What does “silence is not always good” mean?
Silence is not always good means there are circumstances when you must speak rather than say nothing.
Read more >
No silence, please: Five situations where silence is not ...
But silence is not always golden. When you withhold information, an emotion or an important conversation, it's anything but medicinal.
Read more >
Workplace silence may not always be golden
Silence may be a virtue but, when it comes to the workplace, silence can be more complicated and difficult to interpret.
Read more >
Silence Is Not Always Golden
It's human to get offended and therefore defensive when we receive negative feedback.
Read more >
Don't Underestimate the Power of Silence
Being silent allows us to channel our energies. It gives us the clarity we need to calmly face challenges and uncertainty. The hour...
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