summaryrefslogtreecommitdiffstats
path: root/lib/api/encodePage.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-04-27 10:38:54 +0200
committerSamy Pessé <samypesse@gmail.com>2016-04-27 10:38:54 +0200
commitb05eb8440b59db6d39ae06712ddda5651786e00a (patch)
tree1354043c55fccf0e114ec84307c23afa59ff340d /lib/api/encodePage.js
parentf4de7748f596a060e9a59df0447315b59d7c47de (diff)
downloadgitbook-b05eb8440b59db6d39ae06712ddda5651786e00a.zip
gitbook-b05eb8440b59db6d39ae06712ddda5651786e00a.tar.gz
gitbook-b05eb8440b59db6d39ae06712ddda5651786e00a.tar.bz2
Don;t log deprecation warning for own logic
Diffstat (limited to 'lib/api/encodePage.js')
-rw-r--r--lib/api/encodePage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/encodePage.js b/lib/api/encodePage.js
index 98d7409..1f3a01b 100644
--- a/lib/api/encodePage.js
+++ b/lib/api/encodePage.js
@@ -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'