Putout never completes
See original GitHub issueIssue Description
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:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It works, thank you!
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 beingC:\
and the loop never terminates.