Skip to content

Commit

Permalink
Make rest parser wor from cli
Browse files Browse the repository at this point in the history
  • Loading branch information
takahi-i committed May 4, 2017
1 parent b7199a3 commit 3167042
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions redpen-cli/src/main/java/cc/redpen/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,9 @@ private static String detectFormat(String inputFileName) {
return "review";
case "properties":
return "propery";
case "rst":
case "rest":
return "rest";
default:
LOG.info("No such file extension as \"{}\"", ext);
return "plain";
Expand Down

0 comments on commit 3167042

Please sign in to comment.