Skip to content

Commit

Permalink
Trim "," from tags for people who forget they are space separated.
Browse files Browse the repository at this point in the history
  • Loading branch information
mavnn committed Feb 27, 2015
1 parent 266d30a commit 1c70612
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Paket.Core/TemplateFile.fs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ module internal TemplateFile =
get "tags"
|> Option.map (fun t ->
t.Split ' '
|> Array.map (fun t -> t.Trim())
|> Array.map (fun t -> t.Trim().Trim(','))
|> Array.toList)
|> fun x -> defaultArg x []

Expand Down
2 changes: 1 addition & 1 deletion tests/Paket.Tests/TemplateFileParsing.fs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ copyright
LANGUAGE
en-gb
tags
rop fsharp F#
rop, fsharp F#
summary
Railway-oriented programming for .NET
description
Expand Down

0 comments on commit 1c70612

Please sign in to comment.