mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-06 04:00:07 +00:00
Switch to using string.IsNullOrEmpty on string and reverse ternary operator - slightly easier to read.
This commit is contained in:
@@ -151,7 +151,7 @@ namespace CefSharp
|
||||
|
||||
foreach (var file in files)
|
||||
{
|
||||
var filePath = dir != null ? Path.Combine(dir, file) : file;
|
||||
var filePath = string.IsNullOrEmpty(dir) ? file : Path.Combine(dir, file);
|
||||
if (!File.Exists(filePath))
|
||||
{
|
||||
missingDependencies.Add(filePath);
|
||||
|
||||
Reference in New Issue
Block a user