diff --git a/bin/prettier.js b/bin/prettier.js index 7549f13ba..78cc29ba1 100755 --- a/bin/prettier.js +++ b/bin/prettier.js @@ -201,7 +201,7 @@ function format(input, opt) { diff(input, pp); } } - return; + return {}; } return prettier.formatWithCursor(input, opt);