From 4e8dff6931243304372684f3f88af851add66c36 Mon Sep 17 00:00:00 2001 From: "Zhuohuan LI (CARPE DIEM)" Date: Tue, 11 Oct 2016 13:16:45 +0800 Subject: [PATCH] typo --- src/puppet-web/bridge.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/puppet-web/bridge.ts b/src/puppet-web/bridge.ts index e148a636..00222cc3 100644 --- a/src/puppet-web/bridge.ts +++ b/src/puppet-web/bridge.ts @@ -116,12 +116,12 @@ class Bridge { * Do not insert `return` in front of the code. * because the new line `\n` will cause return nothing at all */ - return 'rejectioReturnValue = ' + return 'injectioReturnValue = ' + fs.readFileSync( path.join(__dirname, 'wechaty-bro.js') , 'utf8' ) - + '; return rejectioReturnValue' + + '; return injectioReturnValue' } public logout(): Promise { -- GitLab