Skip to content

Commit bb57cd3

Browse files
committed
refactor(antigravity): simplify HTTP request handling in probePort function
- Removed unnecessary variable assignment in the probePort function to streamline the HTTP request process. - Improved code clarity by directly invoking the request method without intermediate variables.
1 parent 463fb0c commit bb57cd3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/antigravity/plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
}
1414

1515
function probePort(ctx, scheme, port, csrf) {
16-
var resp = ctx.host.http.request({
16+
ctx.host.http.request({
1717
method: "POST",
1818
url: scheme + "://127.0.0.1:" + port + "/" + LS_SERVICE + "/GetUnleashData",
1919
headers: {

0 commit comments

Comments
 (0)