提交 97371ada 编写于 作者: D Daniel Imms

Fix backupFileService.test.ts warnings

上级 2748fc81
......@@ -29,7 +29,7 @@ class TestBackupFileService extends BackupFileService {
}
suite('BackupFileService', () => {
const parentDir = path.join(os.tmpdir(), 'vsctests', 'service')
const parentDir = path.join(os.tmpdir(), 'vsctests', 'service');
const backupHome = path.join(parentDir, 'Backups');
const workspacesJsonPath = path.join(backupHome, 'workspaces.json');
......@@ -37,7 +37,6 @@ suite('BackupFileService', () => {
const workspaceBackupPath = path.join(backupHome, crypto.createHash('md5').update(workspaceResource.fsPath).digest('hex'));
const fooFile = Uri.file(platform.isWindows ? 'C:\\foo' : '/foo');
const barFile = Uri.file(platform.isWindows ? 'C:\\bar' : '/bar');
const bazFile = Uri.file(platform.isWindows ? 'C:\\baz' : '/baz');
const untitledFile = Uri.from({ scheme: 'untitled', path: 'Untitled-1' });
const fooBackupPath = path.join(workspaceBackupPath, 'file', crypto.createHash('md5').update(fooFile.fsPath).digest('hex'));
const barBackupPath = path.join(workspaceBackupPath, 'file', crypto.createHash('md5').update(barFile.fsPath).digest('hex'));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册