Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
  • Loading branch information
jonah-iden committed May 29, 2024
1 parent 2b9adc1 commit 738d3c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export class RemotePortForwardingProviderImpl implements RemotePortForwardingPro
}

async portRemoved(forwardedPort: ForwardedPort): Promise<void> {
const forwardInfo = RemotePortForwardingProviderImpl.forwardedPorts.find(forwardInfo => forwardInfo.port.port === forwardedPort.port);
const forwardInfo = RemotePortForwardingProviderImpl.forwardedPorts.find(info => info.port.port === forwardedPort.port);
if (forwardInfo) {
forwardInfo.server.close();
RemotePortForwardingProviderImpl.forwardedPorts.splice(RemotePortForwardingProviderImpl.forwardedPorts.indexOf(forwardInfo), 1);
Expand Down

0 comments on commit 738d3c0

Please sign in to comment.