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

added validations / auto-complete for lyrics_stat param #428

Merged
merged 2 commits into from
Jun 3, 2023

Conversation

sharunkumar
Copy link
Contributor

@sharunkumar sharunkumar commented Jun 2, 2023

Validation list taken from: #50 (comment)

Helps when invoking install.ps1 manually:

Recording 2023-06-02 193539

@amd64fox
Copy link
Member

amd64fox commented Jun 3, 2023

add the last 2 themes relish and turquoise

@sharunkumar
Copy link
Contributor Author

add the last 2 themes relish and turquoise

done 👍🏻

@amd64fox amd64fox merged commit c6048b3 into SpotX-Official:main Jun 3, 2023
amd64fox added a commit that referenced this pull request Jun 4, 2023
@amd64fox
Copy link
Member

amd64fox commented Jun 4, 2023

I had to restore the code to its original state because in some cases running the script was producing an error

You can reproduce the error by looking at this issue.

@sharunkumar
Copy link
Contributor Author

sharunkumar commented Jun 4, 2023

Strange, seems like there's an issue when invoke-expression tries to execute the code without the default parameter, but when manually invoking it from the command line, it works. I think its got something to do with invoke-expression handling the parameters. I might have to look more into it. but I could suggest another change where autocomplete can be added without the validations though

PowerShell/PowerShell#8778

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.

2 participants