Skip to content

Instantly share code, notes, and snippets.

@jarvisluong
Created April 8, 2020 09:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jarvisluong/2e94d2c8882482fd56816affae90c190 to your computer and use it in GitHub Desktop.
Save jarvisluong/2e94d2c8882482fd56816affae90c190 to your computer and use it in GitHub Desktop.
Patch serverless-tencent-tools
--- 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