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); } }) }