--overwrite swithc fails
raczben opened this issue · 0 comments
raczben commented
Report a bug
--overwrite swithc fails
Input
node vhdlformat.js --overwrite ./VHDLFiles/instance.vhd
Expected Behavior
To write the output back into the input file.
Actual Behavior
fs.js:636
binding.open(pathModule._makeLong(path),
^
TypeError: path must be a string or Buffer
at Object.fs.open (fs.js:636:11)
at Object.fs.writeFile (fs.js:1277:6)
at fs.readFile (./VHDLFormatter/vhdlformat.js:48:20)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)