Fix --debug-check (#1916)

This got broken with the cursor commit.

cc @josephfrazier, would be nice to add some end to end test here :)
master
Christopher Chedeau 2017-06-02 15:10:08 -07:00 committed by GitHub
parent 74f0d3979b
commit 620119d9d4
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ function format(input, opt) {
diff(input, pp);
}
}
return;
return {};
}
return prettier.formatWithCursor(input, opt);