Skip to content

Cannot bind argument when metadata name is not set #35

@BernieWhite

Description

@BernieWhite

Description of the issue

An exception occurs when template metadata name is not set.

Expected behaviour

If the metadata name is not set the document should still be generated with a default title.

Error output

Invoke-PSDocument: Cannot bind argument to parameter 'Text' because it is null.

Module in use and version:

  • Module: PSDocs.Azure
  • Version: 0.1.0

Captured output from $PSVersionTable:

Name                           Value
----                           -----
PSVersion                      7.1.1
PSEdition                      Core
GitCommitId                    7.1.1
OS                             Microsoft Windows 10.0.19042
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions