We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d880744 commit 753187dCopy full SHA for 753187d
1 file changed
src/vs/workbench/services/backup/node/backupFileService.ts
@@ -357,7 +357,7 @@ export class InMemoryBackupFileService implements IBackupFileService {
357
* Exported only for testing
358
*/
359
export function hashPath(resource: Uri): string {
360
- const str = resource.scheme === Schemas.file ? resource.fsPath : resource.toString();
+ const str = resource.scheme === Schemas.file || resource.scheme === Schemas.untitled ? resource.fsPath : resource.toString();
361
return crypto.createHash('md5').update(str).digest('hex');
362
}
363
0 commit comments