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

Ignore screen size error reported by ps #3634

Merged
merged 4 commits into from May 14, 2020

Conversation

JoeRobich
Copy link
Member

As suggested in microsoft/vscode#75932 (comment) we can ignore the screen size error reported on stderr.

May resolve #3580

@codecov
Copy link

codecov bot commented Mar 6, 2020

Codecov Report

Merging #3634 into master will decrease coverage by 0.24%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3634      +/-   ##
==========================================
- Coverage   87.16%   86.92%   -0.25%     
==========================================
  Files          59       59              
  Lines        1800     1805       +5     
  Branches      207      208       +1     
==========================================
  Hits         1569     1569              
- Misses        176      181       +5     
  Partials       55       55              
Flag Coverage Δ
#integration 100.00% <ø> (ø)
#unit 86.92% <0.00%> (-0.25%) ⬇️
Impacted Files Coverage Δ
src/common.ts 52.63% <0.00%> (-2.93%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 85dc575...b434e3e. Read the comment docs.

Copy link
Member

@Pilchie Pilchie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hopefully this is the right place!

@@ -90,6 +90,16 @@ export async function getUnixChildProcessIds(pid: number): Promise<number[]> {
});

ps.on('error', reject);

ps.stderr.setEncoding('utf8');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know how this works with TS promises, but do you need to do something about the ps.on('error', reject); on L92 as well?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it will be a problem. Looking at the way vscode-node-debug handled error, it is effectively the same

@JoeRobich JoeRobich merged commit a81b397 into dotnet:master May 14, 2020
@Pilchie
Copy link
Member

Pilchie commented May 14, 2020

Hooray - will try again when I get a chance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Why can't omnisharp/vscode load this sln file?
3 participants