diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-04-27 10:38:54 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-04-27 10:38:54 +0200 |
commit | b05eb8440b59db6d39ae06712ddda5651786e00a (patch) | |
tree | 1354043c55fccf0e114ec84307c23afa59ff340d /lib/api/encodePage.js | |
parent | f4de7748f596a060e9a59df0447315b59d7c47de (diff) | |
download | gitbook-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.js | 2 |
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' |