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/decodeConfig.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/decodeConfig.js')
-rw-r--r-- | lib/api/decodeConfig.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/api/decodeConfig.js b/lib/api/decodeConfig.js index 886ba45..351ed05 100644 --- a/lib/api/decodeConfig.js +++ b/lib/api/decodeConfig.js @@ -9,6 +9,10 @@ var Config = require('../models/config'); */ function decodeGlobal(config, result) { var values = result.values; + + delete values.generator; + delete values.output; + return Config.updateValues(config, values); } |