We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/dotnet/templating/blob/main/src/Microsoft.TemplateEngine.Orchestrator.RunnableProjects/RunSpec.cs
internal class RunSpec : IRunSpec { private readonly IReadOnlyList<IOperationProvider> _overrides; internal RunSpec(IReadOnlyList<IOperationProvider> operationOverrides, string? variableFormatString) { _overrides = operationOverrides; VariableFormatString = variableFormatString ?? "{0}"; } public string VariableFormatString { get; } public bool TryGetTargetRelPath(string sourceRelPath, out string? targetRelPath) { targetRelPath = null; return false; } public IReadOnlyList<IOperationProvider> GetOperations(IReadOnlyList<IOperationProvider> sourceOperations) { return _overrides ?? sourceOperations; } }
since _overrides the ?? sourceOperations part of GetOperations should never be executed.
_overrides
?? sourceOperations
GetOperations
What am i missing here?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/dotnet/templating/blob/main/src/Microsoft.TemplateEngine.Orchestrator.RunnableProjects/RunSpec.cs
since
_overrides
the?? sourceOperations
part ofGetOperations
should never be executed.What am i missing here?
The text was updated successfully, but these errors were encountered: