Skip to content

Commit

Permalink
msbuild: fix trailing garbage
Browse files Browse the repository at this point in the history
  • Loading branch information
0x53A committed Mar 10, 2023
1 parent 4c22f11 commit 01acff6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
5 changes: 1 addition & 4 deletions src/app/Fake.BuildServer.AppVeyor/AppVeyorInternal.fs
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,7 @@ module internal AppVeyorInternal =
// because otherwise there might be recursive failure...
eprintfn "AppVeyor 'AddMessage' failed: %O" e

let internal quoteString str =
StringBuilder()
|> StringBuilder.appendQuotedIfNotNull Some str
|> StringBuilder.toText
let internal quoteString str = sprintf "\"%s\"" str

/// Starts the test case.
let StartTestCase testSuiteName testCaseName =
Expand Down
7 changes: 2 additions & 5 deletions src/app/Fake.DotNet.MSBuild/MSBuild.fs
Original file line number Diff line number Diff line change
Expand Up @@ -680,11 +680,8 @@ module MSBuild =
value

a, fileName |> Path.getFullName)

let internal quoteString str =
StringBuilder()
|> StringBuilder.appendQuotedIfNotNull Some str
|> StringBuilder.toText

let internal quoteString str = sprintf "\"%s\"" str

let rec private getProjectReferences (projectFileName: string) =
match projectFileName.EndsWith ".sln" with
Expand Down

0 comments on commit 01acff6

Please sign in to comment.