From 3041a122fea92f0c618f907c19e2106c40bd1d9f Mon Sep 17 00:00:00 2001 From: coderaiser Date: Thu, 23 Oct 2014 07:32:39 -0400 Subject: [PATCH] feature(beautify) error message --- lib/server/beautify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/server/beautify.js b/lib/server/beautify.js index 47ad7482..c99ab5e4 100644 --- a/lib/server/beautify.js +++ b/lib/server/beautify.js @@ -19,7 +19,7 @@ if (!beautify) callback(Error('Beautify not installed')); else if (!is) - callback(Error('File should be: ' + EXT)); + callback(Error('Supported file types: ' + EXT.join(', '))); else fs.readFile(name, 'utf8', function(error, data) { var result;