1
0
mirror of https://github.com/jaapbrasser/SharedScripts.git synced 2025-12-24 21:51:38 +02:00

Fixed path

This commit is contained in:
Jaap Brasser
2019-07-12 10:09:36 +02:00
parent af281ece41
commit cf5a4a0bb3

View File

@@ -21,7 +21,7 @@ Will create a folder in C:\Temp named after the PR number, and clone the specifi
$Request = Invoke-WebRequest $Uri
$Values = @{
Folder = '$Path\PR{0}' -f ($Uri.Split('/')[-1])
Folder = '{0}\PR{1}' -f $Path, ($Uri.Split('/')[-1])
GitHubUri = 'https://github.com/{0}' -f $Request.Links.Where{$_.class -eq 'no-underline'}[1].title.split(':')[0]
Branch = $Request.Links.Where{$_.class -eq 'no-underline'}[1].title.split(':')[1]
}