From 9fb055cbff3cad64265b689e9653a657c2f9a858 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Sun, 15 Jan 2023 17:45:11 -0800 Subject: [PATCH] Move file name into try/catch --- BurnOutSharp/FileType/InstallShieldCAB.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BurnOutSharp/FileType/InstallShieldCAB.cs b/BurnOutSharp/FileType/InstallShieldCAB.cs index 96099a10..736f6888 100644 --- a/BurnOutSharp/FileType/InstallShieldCAB.cs +++ b/BurnOutSharp/FileType/InstallShieldCAB.cs @@ -59,10 +59,10 @@ namespace BurnOutSharp.FileType if (!cabfile.FileIsValid(i)) continue; - string filename = cabfile.FileName(i); string tempFile; try { + string filename = cabfile.FileName(i); tempFile = Path.Combine(tempPath, filename); } catch