From 6262c37a1c1abb7cb1c3384d3edc2b5203a3c760 Mon Sep 17 00:00:00 2001 From: coding Date: Sat, 14 Oct 2017 10:11:10 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dyaml=E8=A1=A5=E4=B8=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/core/patch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/core/patch.js b/src/main/resources/core/patch.js index f05898f..a56e033 100644 --- a/src/main/resources/core/patch.js +++ b/src/main/resources/core/patch.js @@ -6,4 +6,4 @@ Object.prototype.toJson = function(){ return JSON.stringify(this); } // YAML快速生成 -Object.prototype.toYaml = function(){ return require('modules/yaml').safeDump(plugin.config); } \ No newline at end of file +Object.prototype.toYaml = function(){ return require('modules/yaml').safeDump(this); } \ No newline at end of file