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

Regression: CLI "--parameters" are ignored #633

Closed
pblasucci opened this issue Jan 16, 2021 · 0 comments · Fixed by #634
Closed

Regression: CLI "--parameters" are ignored #633

pblasucci opened this issue Jan 16, 2021 · 0 comments · Fixed by #634
Labels

Comments

@pblasucci
Copy link
Contributor

Found a regression in v8 (n.b. v7.2.7 does not exhibit this behavior).

Expected Behavior

Values passed via the --parameters argument override values set in .fsproj (which, in turn override hard-coded default values).

Actual Behavior

Values passed via the --parameters argument are ignored.

Steps to reproduce

  1. invoke dotnet fsdocs watch --projects <path/to/fsproj> --parameters fsdocs-navbar-position fixed-left
  2. observe in the console output that mulitple values are listed for a given parameter (the default, from .fsproj (if given), from CLI)
  3. observe in the generated output that the value from the .fsproj file is used (if present) or the default value is used.

Environment

  • .NET SDK version: 5.0.102
  • Operating System: Pop!_OS 20.10 (Ubuntu-derivative)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants