Skip to content

Commit a029ed2

Browse files
committed
trim " from targetPath
1 parent bfde176 commit a029ed2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitVersion.App/ArgumentParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ private void ParseTargetPath(Arguments arguments, string? name, IReadOnlyList<st
160160
if (name.IsSwitch("targetpath"))
161161
{
162162
EnsureArgumentValueCount(values);
163-
arguments.TargetPath = value;
163+
arguments.TargetPath = value?.Trim('\"');
164164
if (!Directory.Exists(value))
165165
{
166166
this.console.WriteLine($"The working directory '{value}' does not exist.");

0 commit comments

Comments
 (0)