Skip to content

Commit

Permalink
Merge pull request #1384 from dkardokas/dev
Browse files Browse the repository at this point in the history
Implicit Param positions removed
  • Loading branch information
KoenZomers committed Nov 25, 2021
2 parents 9101f82 + c718ab9 commit 40848d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- Fixed `Add/Set-PnPListItem` issue with managed metadata / taxonomy field value failing in a batched request.
- Fixed `Set-PnPListItem` issue with setting `Modified` date value properly when using `-Batch` parameter.
- Fixed `Get-PnPTeamsTeam -Identity` throwing an exception if the name of the team would contain special characters
- Fixed `Get-PnPTerm` throwing an exception when used in combination with `-Includes` [#1384](https://github.com/pnp/powershell/pull/1384)
- Fixed `Get-PnPDiagnostics` throwing an unable to cast exception under some circumstances [#1380](https://github.com/pnp/powershell/pull/1380)

### Removed
Expand All @@ -83,6 +84,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- [Andy-Dawson]
- David Aeschlimann [TashunkoWitko]
- [outorted]
- [dkardokas]
- Asad Refai [asadrefai]
- Giacomo Pozzoni [jackpoz]

Expand Down
4 changes: 2 additions & 2 deletions src/Commands/Taxonomy/GetTerm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ public class GetTerm : PnPRetrievalsCmdlet<Term>
[Parameter(Mandatory = false, ParameterSetName = ParameterSet_TERMNAME)]
public TaxonomyTermPipeBind Identity;

[Parameter(Mandatory = true, ValueFromPipeline = true, Position = 0, ParameterSetName = ParameterSet_TERMNAME)]
[Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ParameterSet_TERMNAME)]
public TaxonomyTermSetPipeBind TermSet;

[Parameter(Mandatory = true, ValueFromPipeline = true, Position = 0, ParameterSetName = ParameterSet_TERMNAME)]
[Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ParameterSet_TERMNAME)]
public TaxonomyTermGroupPipeBind TermGroup;

[Parameter(Mandatory = false, ParameterSetName = ParameterSet_TERMID)]
Expand Down

0 comments on commit 40848d8

Please sign in to comment.