diff --git a/src/config.ts b/src/config.ts index 2fac5ad..d13f4ea 100644 --- a/src/config.ts +++ b/src/config.ts @@ -1,7 +1,6 @@ import { readFile, writeFile } from 'fs'; import { parse as parseJsonc, ParseError } from 'jsonc-parser'; -import * as path from 'path'; import * as vscode from 'vscode'; import { ConfigLocation, FileSystemConfig, invalidConfigName } from './fileSystemConfig'; import * as Logging from './logging'; diff --git a/src/extension.ts b/src/extension.ts index 7960569..90505ce 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -4,7 +4,6 @@ import { loadConfigs } from './config'; import { FileSystemConfig, invalidConfigName } from './fileSystemConfig'; import * as Logging from './logging'; import { Manager } from './manager'; -import * as settings from './settings'; function generateDetail(config: FileSystemConfig): string | undefined { const { username, host, putty } = config; diff --git a/src/manager.ts b/src/manager.ts index 266839c..30d055a 100644 --- a/src/manager.ts +++ b/src/manager.ts @@ -1,15 +1,12 @@ -import { readFile } from 'fs'; -import { parse as parseJsonc, ParseError } from 'jsonc-parser'; -import * as path from 'path'; -import { Client, ClientChannel, ConnectConfig } from 'ssh2'; +import { Client, ClientChannel } from 'ssh2'; import * as vscode from 'vscode'; -import { getConfig, getConfigs, loadConfigs, UPDATE_LISTENERS, updateConfig } from './config'; +import { getConfig, getConfigs, loadConfigs, UPDATE_LISTENERS } from './config'; import { createSSH, getSFTP } from './connect'; import { FileSystemConfig } from './fileSystemConfig'; import * as Logging from './logging'; import * as settings from './settings'; -import SSHFileSystem, { EMPTY_FILE_SYSTEM } from './sshFileSystem'; +import SSHFileSystem from './sshFileSystem'; import { MemoryDuplex } from './streams'; import { catchingPromise, toPromise } from './toPromise';