From 7eccb4c67e8c4cf1dff7b944cb62e5d798b2f5d5 Mon Sep 17 00:00:00 2001 From: Marvin Kastner Date: Sat, 9 Dec 2023 22:45:24 +0100 Subject: [PATCH] Fix PSAvoidUsingWriteHost --- docs/download_prepared_sqlite_databases.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/download_prepared_sqlite_databases.ps1 b/docs/download_prepared_sqlite_databases.ps1 index 8ac2fac..9654e3f 100644 --- a/docs/download_prepared_sqlite_databases.ps1 +++ b/docs/download_prepared_sqlite_databases.ps1 @@ -10,6 +10,6 @@ $local_prepared_db_root_directory = "./notebooks/data/prepared_dbs" foreach ($db in $sqlite_databases) { $source_url = "$($web_root_directory)$($db).sqlite" $target_path = "$($local_prepared_db_root_directory)/$($db).sqlite" - Write-Host "Download $source_url and save it at $target_path" + Write-Output "Download $source_url and save it at $target_path" Invoke-WebRequest $source_url -OutFile $target_path }