Fix nodejs minify without inSourceMap exception
authorSergej Tatarincev <st@bekitzur.com>
Tue, 9 Oct 2012 09:52:28 +0000 (12:52 +0300)
committerSergej Tatarincev <st@bekitzur.com>
Tue, 9 Oct 2012 09:52:28 +0000 (12:52 +0300)
commit203ecaf85ba7ad714e77c78b2102309d5581948c
tree20d556a14c8e2fa28ef5564162324478a17cf96b
parentc967f0b0fefd7db03922769f1d2aaf2ae1394ddc
Fix nodejs minify without inSourceMap exception

When inSourceMap is omitted fs.readFile throws exception. Fixed version
calls fs.readFile only when inSourceMap argument is present
tools/node.js