Fix issue 2078

Fix for issue https://github.com/adobe/brackets/issues/2078.