JustinGrote / JustinGrote/PowerHTML

Importing PowerHTML module in a directory with a Types folder containing multiple .ps1xml files fails

Open
#8 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
60
Forks
10
PR merge metrics
No merged PRs in 30d

Description

I'm using PowerHTML is one of my modules, my module contains a `Types` folder with multiple .ps1xml files. When I am in my module's root directory and try to import the PowerHTML module, it fails with this error:
```
PS /Users/evan.yeung/git/OktaPS> Import-Module PowerHTML
Import-Module: The member 'FormatsToProcess' in the module manifest is not valid: The path cannot be processed because it resolved to more than one file; only one file at a time can be processed.. Verify that a valid value is specified for this field in the '/Users/evan.yeung/.local/share/powershell/Modules/PowerHTML/0.1.7/PowerHTML.psd1' file.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.