Skip to content

Conversation

@JamesWTruher
Copy link
Collaborator

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\ReceivePSSession.cs" />
<Compile Remove="engine\remoting\commands\DisconnectPSSession.cs" />
<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
Collaborator 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.

5 participants