mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
feature(beautify) error message
This commit is contained in:
parent
b5f33350fc
commit
3041a122fe
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue