style: formatting
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import * as vscode from 'vscode';
|
import * as vscode from 'vscode';
|
||||||
import QuickAccessTreeProvider from './views/quick-access-tree';
|
import QuickAccessTreeProvider from './views/quick-access-tree';
|
||||||
import DSHome from './home';
|
import DSHome from './home';
|
||||||
import RemoteContainer, {openProjectWithoutLogging} from './remote-container';
|
import RemoteContainer, { openProjectWithoutLogging } from './remote-container';
|
||||||
import User from './user';
|
import User from './user';
|
||||||
|
|
||||||
export class DevStarExtension {
|
export class DevStarExtension {
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ export default class RemoteContainer {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
async storeHostInfo(host:string, port:number, username:string): Promise<void> {
|
async storeHostInfo(host: string, port: number, username: string): Promise<void> {
|
||||||
const sshConfigPath = path.join(os.homedir(), '.ssh', 'config');
|
const sshConfigPath = path.join(os.homedir(), '.ssh', 'config');
|
||||||
// check if the host and related info exist in local ssh config file before saving
|
// check if the host and related info exist in local ssh config file before saving
|
||||||
var canAppendSSHConfig = true
|
var canAppendSSHConfig = true
|
||||||
@@ -153,4 +153,4 @@ export async function openProjectWithoutLogging(host: string, port: number, user
|
|||||||
let terminal = vscode.window.activeTerminal || vscode.window.createTerminal(`Ext Terminal`);
|
let terminal = vscode.window.activeTerminal || vscode.window.createTerminal(`Ext Terminal`);
|
||||||
terminal.show(true);
|
terminal.show(true);
|
||||||
terminal.sendText(command);
|
terminal.sendText(command);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user