Skip to content

Start-DevPowerShell: make it more convenient, functional - #7300

Merged
Dongbo Wang (daxian-dbw) merged 2 commits into
PowerShell:masterfrom
jazzdelightsme:user/danthom/updateStartDevPowerShell
Jul 26, 2018
Merged

Start-DevPowerShell: make it more convenient, functional#7300
Dongbo Wang (daxian-dbw) merged 2 commits into
PowerShell:masterfrom
jazzdelightsme:user/danthom/updateStartDevPowerShell

Conversation

@jazzdelightsme

Copy link
Copy Markdown
Contributor

PR Summary

More convenient: allow specifying the configuration, rather than the bin
dir.

More functional: don't attempt to pass null/empty ArgumentList to
Start-Process.

PR Checklist

More convenient: allow specifying the configuration, rather than the bin
dir.

More functional: don't attempt to pass null/empty ArgumentList to
Start-Process.
Comment thread build.psm1 Outdated
[ValidateSet("Debug", "Release", "CodeCoverage", '')] # should match New-PSOptions -Configuration values
[string]$Configuration,
[Parameter(ParameterSetName='BinDirParamSet')]
[string]$binDir,

@kvprasoon PRASOON KARUNAN V (kvprasoon) Jul 21, 2018

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I believe we follow Pascal casing for Parameters . Requesting you to change $binDir to $BinDir in Param() block and on all occurrences.

@daxian-dbw Dongbo Wang (daxian-dbw) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@daxian-dbw
Dongbo Wang (daxian-dbw) merged commit e7c315b into PowerShell:master Jul 26, 2018
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
…` more properly (PowerShell#7300)

- Allow specifying the configuration, rather than the `bin` folder.
- Do not attempt to pass null/empty `ArgumentList` to `Start-Process`.
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.

4 participants