refactor: use unified paramater name in firstOpenProject
This commit is contained in:
@@ -16,12 +16,12 @@ export default class RemoteContainer {
|
|||||||
this.user = user
|
this.user = user
|
||||||
}
|
}
|
||||||
|
|
||||||
async firstOpenProject(host: string, port: number, username: string, path: string, context: vscode.ExtensionContext) {
|
async firstOpenProject(hostname: string, port: number, username: string, path: string, context: vscode.ExtensionContext) {
|
||||||
await this.firstConnect(host, username, port, context)
|
await this.firstConnect(hostname, username, port, context)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
if (res === 'success') {
|
if (res === 'success') {
|
||||||
// only success then open folder
|
// only success then open folder
|
||||||
this.openRemoteFolder(host, port, username, path);
|
this.openRemoteFolder(hostname, port, username, path);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user