From 0075a1df3ecd6ecd99904556539ab831b0346c02 Mon Sep 17 00:00:00 2001 From: nightwing Date: Fri, 1 May 2015 12:14:25 +0400 Subject: [PATCH] fix node 0.12 warning about customFds --- node_modules/vfs-child/parent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node_modules/vfs-child/parent.js b/node_modules/vfs-child/parent.js index 38474005..733570c6 100644 --- a/node_modules/vfs-child/parent.js +++ b/node_modules/vfs-child/parent.js @@ -15,7 +15,7 @@ function Parent(fsOptions) { options.uid = fsOptions.uid; delete fsOptions.uid; } - options.customFds = [-1, -1, 2]; + options.stdio = options.customFds = [-1, -1, 2]; var args = [require.resolve('./child.js'), JSON.stringify(fsOptions)]; var executablePath = process.execPath; var child;