fix: 修复yaml补丁
This commit is contained in:
parent
08215ddc32
commit
6262c37a1c
@ -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); }
|
Loading…
Reference in New Issue
Block a user