fix: 修复yaml补丁

merge/1/MERGE
coding 2017-10-14 10:11:10 +00:00
parent 08215ddc32
commit 6262c37a1c
1 changed files with 1 additions and 1 deletions

View File

@ -6,4 +6,4 @@
Object.prototype.toJson = function(){ return JSON.stringify(this); }
// YAML快速生成
Object.prototype.toYaml = function(){ return require('modules/yaml').safeDump(plugin.config); }
Object.prototype.toYaml = function(){ return require('modules/yaml').safeDump(this); }