From 97371ada3da62980cf1a844e1c9070ce97ddab17 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Fri, 11 Nov 2016 08:34:47 -0800 Subject: [PATCH] Fix backupFileService.test.ts warnings --- .../workbench/services/backup/test/backupFileService.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/vs/workbench/services/backup/test/backupFileService.test.ts b/src/vs/workbench/services/backup/test/backupFileService.test.ts index 4d8212aef0e..bbe1ee2a194 100644 --- a/src/vs/workbench/services/backup/test/backupFileService.test.ts +++ b/src/vs/workbench/services/backup/test/backupFileService.test.ts @@ -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')); -- GitLab