Skip to content

Commit 0e06f78

Browse files
author
ohumeniuk
committed
fix
1 parent 5ddf920 commit 0e06f78

File tree

1 file changed

+8
-2
lines changed
  • eFormAPI/Installation/AllowMultipleVersionsBundle

1 file changed

+8
-2
lines changed

eFormAPI/Installation/AllowMultipleVersionsBundle/Program.cs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,14 @@ static void Main(string[] args)
3333

3434
SetupIIS();
3535

36-
if (!IsFileLocked(path))
37-
File.WriteAllBytes(path, Resources.Eform_Angular_Frontend);
36+
try
37+
{
38+
File.WriteAllBytes(path, Resources.Eform_Angular_Frontend);
39+
}
40+
catch(Exception)
41+
{
42+
43+
}
3844

3945
var drive = DriveInfo.GetDrives().First(t => t.DriveType == DriveType.Fixed).Name;
4046
var tmpDir = Path.Combine(drive, "tmp");

0 commit comments

Comments
 (0)