Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: correctly read config from stdin #1317

Merged
merged 1 commit into from Aug 21, 2023
Merged

fix: correctly read config from stdin #1317

merged 1 commit into from Aug 21, 2023

Conversation

iiroj
Copy link
Member

@iiroj iiroj commented Aug 21, 2023

Fixes #1316, which was broken when switching to async node:fs/promises. This feature didn't have any tests, and I was lazy it seems...

@codecov
Copy link

codecov bot commented Aug 21, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (9da8777) 100.00% compared to head (e603a08) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #1317   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           27        28    +1     
  Lines          760       767    +7     
  Branches       199       199           
=========================================
+ Hits           760       767    +7     
Files Changed Coverage Δ
lib/messages.js 100.00% <100.00%> (ø)
lib/readStdin.js 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@iiroj
Copy link
Member Author

iiroj commented Aug 21, 2023

Ping @okonet a fresh bug introduced in v14 by using node:fs/promises wrong.

@iiroj iiroj merged commit fc3bfea into master Aug 21, 2023
17 checks passed
@iiroj iiroj deleted the fix-config-stdin branch August 21, 2023 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants