Skip to content

Commit

Permalink
(GH-1614) Quote source name if includes pipe
Browse files Browse the repository at this point in the history
Also quote the source name if it includes a pipe character.
  • Loading branch information
ferventcoder committed Mar 13, 2019
1 parent 35e9f81 commit d38d40a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public virtual IEnumerable<ChocolateySource> source_list(ChocolateyConfiguration
else
{
this.Log().Info(() => "{0}|{1}|{2}|{3}|{4}|{5}|{6}|{7}|{8}".format_with(
source.Id,
source.Id.quote_if_pipe_found(),
source.Value,
source.Disabled.to_string(),
source.UserName.quote_if_pipe_found(),
Expand Down

0 comments on commit d38d40a

Please sign in to comment.