Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Fix invalid separator in PONYPATH for windows. #32

Merged
merged 1 commit into from
Aug 9, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ All notable changes to the Pony compiler and standard library will be documented

### Fixed


- Fix invalid separator in PONYPATH for Windows. ([PR #32](https://github.com/ponylang/pony-stable/pull/32))

### Added

Expand Down
3 changes: 2 additions & 1 deletion stable/main.pony
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ actor Main
let bundle = _load_bundle()?
let ponypath' = recover trn String end
let iter = bundle.paths().values()
let sep = Path.list_sep()(0)?
for path in iter do
ponypath'.append(path)
if iter.has_next() then ponypath'.push(':') end
if iter.has_next() then ponypath'.push(sep) end
end

ponypath'
Expand Down