Skip to content

Commit 52fb596

Browse files
Coercing html_url to [uri] and fixing default path
1 parent ba88407 commit 52fb596

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

psturtle.com/LICENSE.html.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ $RepositoryUrl,
1515

1616
# We can provide the changelog path by hard-coding it, or it can provided in site or page metadata.
1717
[string]
18-
$LicensePath = '../LICENSE.txt'
18+
$LicensePath = '../LICENSE'
1919
)
2020

2121
# Push into this location, in case we are building this file interactively.
2222
if ($PSScriptRoot) { Push-Location $PSScriptRoot}
2323

2424
if (-not $RepositoryUrl) {
2525
if ($gitHubEvent.repository.html_url) {
26-
$repositoryUrl = $gitHubEvent.repository.html_url
26+
$repositoryUrl = $gitHubEvent.repository.html_url -as [uri]
2727
} else {
2828
return
2929
}

0 commit comments

Comments
 (0)