Skip to content

Commit

Permalink
Merge pull request #52 from streamich/fix/path-sep
Browse files Browse the repository at this point in the history
fix: Windows path separator
  • Loading branch information
streamich authored Nov 12, 2017
2 parents d870835 + caefb36 commit 49f2e8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "memfs",
"version": "2.5.8",
"version": "2.5.9",
"description": "In-memory file-system with Node's fs API.",
"main": "lib/index.js",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/volume.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const {O_RDONLY, O_WRONLY, O_RDWR, O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND,

let sep, relative;
if (pathModule.posix) {
const posix = pathModule;
const {posix} = pathModule;

sep = posix.sep;
relative = posix.relative;
Expand Down

0 comments on commit 49f2e8b

Please sign in to comment.