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.

Putout never completes

See original GitHub issue

Putout 13.2.0 worked fine. After I upgraded to 13.7.0, Putout can no longer complete, it just eats ~10% of my CPU and never finishes.

I’m using eslint-plugin-putout. I also tried running node_modules/.bin/putout, same result, it never finishes.

I does NOT reproduce on my CI, but it reproduces on my local machine (Windows 10, Node.js v14.15.4).

What can I do to gather more info?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
EvgenyOrekhovcommented, Jan 18, 2021

It works, thank you!

1reaction
EvgenyOrekhovcommented, Jan 18, 2021

I think I found the cause. It’s this line:

https://github.com/coderaiser/putout/blob/48be42c0c0864b161123529e813d64bed3b60a8c/packages/putout/lib/parse-options/recursive-read.js#L15

On a Windows machine dir ends up being C:\ and the loop never terminates.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What Is a Putout in Baseball? It's a Pretty Common…
If a catcher cannot complete the tag, then he will usually retrieve the ball and throw it on to first, in which case...
Read more >
9.12 Errors - Baseball Rules Academy
If a throw is low, wide or high, or strikes the ground, and a runner reaches base who otherwise would have been put...
Read more >
Rizzo starts odd 3-4-1 putout | 08/22/2017 | MLB.com
Anthony Rizzo is eaten up by a bad hop, but manages to get enough glove on it to deflect it to Ian Happ,...
Read more >
Severino's clutch putout in 9th | 04/16/2018 - MLB.com
Pedro Severino throws out Asdrubal Cabrera trying to advance to third, and the call stands after a Mets challenge in the bottom of...
Read more >
Wade Jr.'s barehanded flip completes 1-3-1 putout with Cueto
Wade Jr. grabbed the ball with his left hand and flipped the ball to a backpedaling Cueto, who beat Walker to the bag...
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