Skip to content

Using IntelliSense on parameter attributes causes the brackets to be removed #45

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

Closed
daviwil opened this issue Nov 19, 2015 · 0 comments
Closed

Comments

@daviwil
Copy link
Contributor

daviwil commented Nov 19, 2015

From Norberto:

Using IntelliSense to complete the 'hash' attribute to 'hashtable'

function Add-DscEncyptionCertificate 
{
    [CmdletBinding()]
    param (
        [AllowNull()]
        [AllowEmptyString()]
        [Parameter()] 
        [hash] $ConfigurationDataPath,

Gives this

function Add-DscEncyptionCertificate 
{
    [CmdletBinding()]
    param (
        [AllowNull()]
        [AllowEmptyString()]
        [Parameter()]
        hashtable $ConfigurationDataPath,

Shouldn’t remove the [], if possible

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

No branches or pull requests

1 participant