Skip to content

Commit 128e424

Browse files
committed
undebug the change
1 parent e4e4033 commit 128e424

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

PCbuild/get_external.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import zipfile
1515

1616

17-
#@functools.cache
17+
@functools.cache
1818
def trigger_automatic_root_certificate_update(url: str, timeout: int = 30) -> None:
1919
escaped_url = url.replace("'", "''")
2020
try:
@@ -25,8 +25,7 @@ def trigger_automatic_root_certificate_update(url: str, timeout: int = 30) -> No
2525
"-Command",
2626
f"Invoke-WebRequest -Uri '{escaped_url}'"
2727
f" -UseBasicParsing -Method HEAD -MaximumRedirection 0"
28-
f" -TimeoutSec {timeout}"# -ErrorAction SilentlyContinue"
29-
#f" | Out-Null",
28+
f" -TimeoutSec {timeout}",
3029
],
3130
check=True,
3231
capture_output=True,

0 commit comments

Comments
 (0)