Skip to content

Commit

Permalink
The files-function of require('customize/helpers-io') now always …
Browse files Browse the repository at this point in the history
…returns paths in POSIX-style,

that are separated by slashes and not backslashed (even on Windows)
(see [bootprint-swagger#42](bootprint/bootprint-openapi#42 (comment)))
  • Loading branch information
Nils Knappmeier committed Oct 21, 2015
1 parent c3d6b4f commit 43c8151
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,19 @@

This project adheres to [Semantic Versioning](http://semver.org/).

## Upcoming

### Change/Fix

* The `files`-function of `require('customize/helpers-io')` now always returns paths
in POSIX-style, that are separated by slashes and not backslashed (even on Windows)
(see [bootprint-swagger#42](https://github.com/nknapp/bootprint-swagger/issues/42#issuecomment-149803466))

## v0.4.4 - 2015-10-19

## Fix
### Fix

* Fix `files`-property
* Fix `files`-property in package.json

## v0.4.3 - 2015-10-19

Expand Down
2 changes: 1 addition & 1 deletion lib/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function files (directoryPath, options) {
return _(filePaths).map(function (filePath) {
return [
// key
path.relative(directoryPath, filePath),
path.relative(directoryPath, filePath).split(path.sep).join('/'),
// value
leaf(lazy(function () {
return {
Expand Down

0 comments on commit 43c8151

Please sign in to comment.