Unverified Commit 7542bddd authored by Sakthipriyan Vairamani (thefourtheye)'s avatar Sakthipriyan Vairamani (thefourtheye)
Browse files

fs: don't alter user provided `options` object

This patch makes a copy of the `options` object before the fs module
functions alter it.

PR-URL: https://github.com/nodejs/node/pull/7831
Fixes: https://github.com/nodejs/node/pull/7655


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarNicu Micleușanu <micnic90@gmail.com>
Reviewed-By: default avatarRod Vagg <rod@vagg.org>
parent 7084b9c5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment