fix: 修复yaml补丁

This commit is contained in:
coding 2017-10-14 10:11:10 +00:00
parent 08215ddc32
commit 6262c37a1c

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); }