From 83f7d7bb29cb2c2a475b63409b0e3ca070443abb Mon Sep 17 00:00:00 2001 From: Levi Yan Date: Tue, 13 May 2025 18:13:08 +0800 Subject: [PATCH] refactor: use unified paramater name in firstOpenProject --- src/remote-container.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/remote-container.ts b/src/remote-container.ts index d83dcd5..f93af49 100644 --- a/src/remote-container.ts +++ b/src/remote-container.ts @@ -16,12 +16,12 @@ export default class RemoteContainer { this.user = user } - async firstOpenProject(host: string, port: number, username: string, path: string, context: vscode.ExtensionContext) { - await this.firstConnect(host, username, port, context) + async firstOpenProject(hostname: string, port: number, username: string, path: string, context: vscode.ExtensionContext) { + await this.firstConnect(hostname, username, port, context) .then((res) => { if (res === 'success') { // only success then open folder - this.openRemoteFolder(host, port, username, path); + this.openRemoteFolder(hostname, port, username, path); } }) }