Created
April 8, 2020 09:27
-
-
Save jarvisluong/2e94d2c8882482fd56816affae90c190 to your computer and use it in GitHub Desktop.
Patch serverless-tencent-tools
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- index.js 2020-04-08 12:26:27.000000000 +0300 | |
+++ index.new.js 2020-04-08 12:26:08.000000000 +0300 | |
@@ -79,7 +79,7 @@ | |
_.trys.pop(); continue; | |
} | |
op = body.call(thisArg, _); | |
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }} | |
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } | |
} | |
if (op[0] & 5) throw op[1] | |
return { value: op[0] ? op[1] : void 0, done: true } | |
@@ -173,7 +173,7 @@ | |
] | |
} | |
}) | |
- } | |
+ }) | |
Client.prototype.backward = function (clientPort, serverPort) { | |
var _this = this | |
var streamName = ':' + clientPort + ' <- :' + serverPort | |
@@ -197,7 +197,7 @@ | |
return this | |
} | |
return Client | |
-})() | |
+}})() | |
function connect(options) { | |
var url = options.url, | |
token = options.token, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment