Comparing version 0.2.0 to 0.2.1
@@ -26,3 +26,3 @@ 'use strict'; | ||
function patchRequire(vol) { | ||
var unixifyPaths = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; | ||
var unixifyPaths = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; | ||
var Module = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : require('module'); | ||
@@ -29,0 +29,0 @@ |
{ | ||
"name": "fs-monkey", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Monkey patches for file system related things.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -35,3 +35,3 @@ import * as path from 'path'; | ||
*/ | ||
export default function patchRequire(vol, unixifyPaths = true, Module = require('module')) { | ||
export default function patchRequire(vol, unixifyPaths = false, Module = require('module')) { | ||
@@ -38,0 +38,0 @@ // ensure all paths are corrected before use. |
36479