From 978860f49bc7399f89a2c6d11ec63bfb7eab19c6 Mon Sep 17 00:00:00 2001 From: "ec.huyinghuan@gmail.com" Date: Fri, 17 Jan 2014 19:12:17 +0800 Subject: [PATCH] fix a bug --- eccmeteor/server/utils/AssetsUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eccmeteor/server/utils/AssetsUtils.js b/eccmeteor/server/utils/AssetsUtils.js index 0404ff8c..26bcb081 100644 --- a/eccmeteor/server/utils/AssetsUtils.js +++ b/eccmeteor/server/utils/AssetsUtils.js @@ -55,7 +55,7 @@ Object.defineProperty(AssetsUtils,"getTestObjects",{ dir = path.join("test","test.json"); str = Assets.getText(dir) } - return EJSON.parse(Assets.getText(str)); + return EJSON.parse(str); } });