BSData / BSData/publish-catpkg

Fix path usage with LiteralPath where appropriate

Open
#18 0 comments 0 reactions 1 assignee Claimed by @amis92 View on GitHub
Dominant language
PowerShell
Stars
1
Forks
2
PR merge metrics
No merged PRs in 30d

Description

### Issue
The on-release indexing action fails for `ZZ - Chaos - Warriors of Chaos (Warscroll Compendium) [2017].cat` and it's the only catalogue with a square bracket `[...]` in it's name.

## Explainer
This is a glob pattern in ubuntu, and I didn't take that into account in the PowerShell (I should use `-LiteralPath` for `Test-Path` et al.).

https://github.com/BSData/publish-catpkg/blob/v1/src/BsdataCatpkg/BsdataCatpkg.psm1#L138-L141

https://github.com/BSData/warhammer-age-of-sigmar/runs/3053119972?check_suite_focus=true#step:3:168

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.