adobe/brackets — pull request #6332 by alfredxing (2013-12-28 22:36:59+00:00)
Title: Add default (blank) options parameter for File.write

Add a default `options` parameter to `File.write` similar to what was already done with `callback`. This gets rid of the encoding error message when calling `File.write` without the options parameter.

The error message displayed in the console: `TypeError: Cannot read property 'encoding' of undefined`

Addresses issue #6331