Skip to content

Commit 32f85f3

Browse files
committed
chore: improve clear-appveyor-cache.ps1
1 parent 3e1191e commit 32f85f3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/clear-appveyor-cache.ps1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,7 @@ if ($confirmation -ne 'y') {
2828
$headers = @{}
2929
$headers['Authorization'] = "Bearer $appveyor_token"
3030
$headers["Content-type"] = "application/json"
31-
Invoke-RestMethod -Uri 'https://ci.appveyor.com/api/projects/oldratlee/java-dns-cache-manipulator/buildcache' -Headers $headers -Method Delete
31+
32+
$uri = 'https://ci.appveyor.com/api/projects/oldratlee/java-dns-cache-manipulator/buildcache'
33+
34+
Invoke-RestMethod -Uri $uri -Headers $headers -Method Delete

0 commit comments

Comments
 (0)