Skip to content

Commit 94bdb72

Browse files
committed
.
1 parent a3eaf6a commit 94bdb72

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/DiffEngine/ResolvedTool.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ public string GetArguments(string tempFile, string targetFile)
2323
return LaunchArguments.Right(tempFile, targetFile);
2424
}
2525

26-
public ResolvedTool(string name, string exePath, LaunchArguments launchArguments, bool isMdi, bool autoRefresh, IReadOnlyCollection<string> binaryExtensions, bool requiresTarget, bool supportsText) :
27-
this(name, null, exePath, launchArguments, isMdi, autoRefresh, binaryExtensions, requiresTarget, supportsText)
26+
public ResolvedTool(string name, string exePath, LaunchArguments launchArguments, bool isMdi, bool autoRefresh, IReadOnlyCollection<string> binaryExtensions, bool requiresTarget, bool supportsText, bool createNoWindow) :
27+
this(name, null, exePath, launchArguments, isMdi, autoRefresh, binaryExtensions, requiresTarget, supportsText, createNoWindow)
2828
{
2929
}
3030

@@ -37,7 +37,8 @@ public ResolvedTool(
3737
bool autoRefresh,
3838
IReadOnlyCollection<string> binaryExtensions,
3939
bool requiresTarget,
40-
bool supportsText)
40+
bool supportsText,
41+
bool createNoWindow)
4142
{
4243
Guard.FileExists(exePath, nameof(exePath));
4344
Guard.AgainstEmpty(name, nameof(name));
@@ -59,6 +60,7 @@ Extensions must begin with a period.
5960

6061
RequiresTarget = requiresTarget;
6162
SupportsText = supportsText;
63+
CreateNoWindow = createNoWindow;
6264
}
6365

6466
public string Name { get; init; }
@@ -70,4 +72,5 @@ Extensions must begin with a period.
7072
public FrozenSet<string> BinaryExtensions { get; init; }
7173
public bool RequiresTarget { get; init; }
7274
public bool SupportsText { get; init; }
75+
public bool CreateNoWindow { get; init; }
7376
}

0 commit comments

Comments
 (0)