Skip to content

Commit

Permalink
Merge pull request #415 from jonbullock/master
Browse files Browse the repository at this point in the history
Fixed spelling mistake in method name
  • Loading branch information
jonbullock authored Oct 14, 2017
2 parents e668088 + ce039cb commit 5300a31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/jbake/app/ContentStore.java
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public void deleteContent(String docType, String uri) {
executeCommand("delete from " + docType + " where sourceuri=?", uri);
}

public void markConentAsRendered(String docType) {
public void markContentAsRendered(String docType) {
executeCommand("update " + docType + " set rendered=true where rendered=false and cached=true");
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/jbake/app/Oven.java
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public void bake() {

// mark docs as rendered
for (String docType : DocumentTypes.getDocumentTypes()) {
db.markConentAsRendered(docType);
db.markContentAsRendered(docType);
}
// copy assets
Asset asset = new Asset(source, destination, config);
Expand Down

0 comments on commit 5300a31

Please sign in to comment.