Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #2020 add slash instead of backslash on a non windows platform #2021

Merged
merged 3 commits into from
Jul 21, 2018
Merged

Conversation

sliepie
Copy link
Contributor

@sliepie sliepie commented Jul 10, 2018

No description provided.

let outputPath = path |> String.trimSeparator
("OutputPath", (sprintf @"%s\" outputPath)) :: (properties project)
let seperator =
if Environment.isWindows then @"\"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or we use Path.directorySeparatorChar (or something like that)?

(but I'm fine with leaving as-is as well)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Path.directorySeperatorChar seems a better solution to me. Will change it

@sliepie
Copy link
Contributor Author

sliepie commented Jul 13, 2018

@matthid It's ready for merge, when build succeeds

@matthid matthid mentioned this pull request Jul 13, 2018
@matthid
Copy link
Member

matthid commented Jul 21, 2018

Looks good, thanks!

@matthid matthid merged commit 98074fb into fsprojects:release/next Jul 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants