From 4c9beee8f2df891b2ec314e1efffb2ee9d5cca20 Mon Sep 17 00:00:00 2001 From: Richard Kuhnt Date: Fri, 13 Jul 2018 17:11:26 +0200 Subject: [PATCH] Add filename to warning for files without hash in the manifest --- lib/install.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/install.ps1 b/lib/install.ps1 index 7894d860d..6c5e0db7a 100644 --- a/lib/install.ps1 +++ b/lib/install.ps1 @@ -445,7 +445,7 @@ function hash_for_url($manifest, $url, $arch) { function check_hash($file, $hash, $app_name) { $file = fullpath $file if(!$hash) { - warn "Warning: No hash in manifest. SHA256 is:`n $(compute_hash $file) 'sha256')" + warn "Warning: No hash in manifest. SHA256 for '$(fname $file)' is:`n $(compute_hash $file 'sha256')" return $true, $null }