Skip to content

Commit

Permalink
trim double quotes around filepath input on Windows. (#486)
Browse files Browse the repository at this point in the history
  • Loading branch information
TingluoHuang authored Aug 5, 2016
1 parent 8ddd3f5 commit 8f1aa53
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Agent.Worker/TaskRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ private string TranslateFilePathInput(string inputValue)
{
Trace.Entering();

#if OS_WINDOWS
Trace.Verbose("Trim double quotes around filepath type input on Windows.");
inputValue = inputValue.Trim('\"');
#endif
// if inputValue is rooted, return full path.
string fullPath;
if (!string.IsNullOrEmpty(inputValue) &&
Expand Down

0 comments on commit 8f1aa53

Please sign in to comment.