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

Remove SuspendJob and ResumeJob cmdlets from compilation #7650

Conversation

JamesWTruher
Copy link
Member

The classes for the cmdlets are present but the Cmdlet attribute has been removed. There is no reason why we should be compiling these files, and it very slightly impacts our code coverage numbers.

This can be taken for 6.2, there is no reason to take it for 6.1

PR Summary

Remove SuspendJob and ResumeJob from compilation

PR Checklist

The classes for the cmdlets are present but the Cmdlet attribute has been removed. There is no reason why we should be compiling these files, and it very slightly impacts our code coverage numbers.
@JamesWTruher JamesWTruher changed the title Remove SuspendJob and ResumeJob sources from compilation Remove SuspendJob and ResumeJob cmdlets from compilation Aug 28, 2018
<Compile Remove="engine\remoting\commands\ConnectPSSession.cs" />
<Compile Remove="engine\remoting\commands\CustomShellCommands.cs" />
Copy link
Member

Choose a reason for hiding this comment

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

The ItemGroup is specific to non-windows. I think we need to remove these for all platforms

Copy link
Member Author

Choose a reason for hiding this comment

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

definitely should be all platforms to remove.
fixed

@daxian-dbw daxian-dbw merged commit 6d74298 into PowerShell:master Aug 30, 2018
TravisEz13 pushed a commit that referenced this pull request Aug 31, 2018
The classes for the cmdlets are present but the Cmdlet attribute has been removed. There is no reason why we should be compiling these files, and it very slightly impacts our code coverage numbers.
@TravisEz13 TravisEz13 added this to the v6.1.0 milestone Aug 31, 2018
@JamesWTruher JamesWTruher deleted the jameswtruher/removeobsoletejobcmdlets branch September 23, 2023 05:34
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.

None yet

5 participants