Don;t log deprecation warning for own logic

This commit is contained in:
Samy Pessé
2016-04-27 10:38:54 +02:00
parent f4de7748f5
commit b05eb8440b
4 changed files with 38 additions and 7 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ function encodePage(output, page) {
result.path = file.getPath();
result.rawPath = fs.resolve(result.path);
deprecate.field(output, 'page.section', result, 'sections', [
deprecate.field(output, 'page.sections', result, 'sections', [
{
content: result.content,
type: 'normal'