Skip to content

Commit da86dc0

Browse files
resolved sonar issues
1 parent 37ba9e9 commit da86dc0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/LCT.SW360PackageCreator/AlpinePackageDownloader.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ private static void ApplyPatchFilesToSourceCode(string downloadPath, string sour
143143
directory.Delete(true);
144144

145145
}
146-
catch (Exception ex)
146+
catch (IOException ex)
147147
{
148148
Logger.Debug(ex.ToString());
149149
}

src/LCT.SW360PackageCreator/URLHelper.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,7 @@ private static void CloneSource(string localPathforSourceRepo, string alpineDist
268268
p.StartInfo.WorkingDirectory = localPathforSourceRepo;
269269

270270
p.Start();
271-
p.WaitForExit();
272-
p.WaitForExit();
271+
p.WaitForExit();
273272

274273
}
275274
}

0 commit comments

Comments
 (0)