@@ -15,7 +15,6 @@ import { getPathFromAmdModule } from 'vs/base/common/amd';
1515import { isWindows , isLinux } from 'vs/base/common/platform' ;
1616import { canNormalize } from 'vs/base/common/normalization' ;
1717import { VSBuffer } from 'vs/base/common/buffer' ;
18- import { join } from 'path' ;
1918
2019const chunkSize = 64 * 1024 ;
2120const readError = 'Error while reading' ;
@@ -379,12 +378,12 @@ suite('PFS', function () {
379378 if ( canNormalize && typeof process . versions [ 'electron' ] !== 'undefined' /* needs electron */ ) {
380379 const id = uuid . generateUuid ( ) ;
381380 const parentDir = path . join ( os . tmpdir ( ) , 'vsctests' , id ) ;
382- const testDir = join ( parentDir , 'pfs' , id ) ;
381+ const testDir = path . join ( parentDir , 'pfs' , id ) ;
383382
384383 const newDir = path . join ( testDir , 'öäü' ) ;
385384 await pfs . mkdirp ( newDir , 493 ) ;
386385
387- await pfs . writeFile ( join ( testDir , 'somefile.txt' ) , 'contents' ) ;
386+ await pfs . writeFile ( path . join ( testDir , 'somefile.txt' ) , 'contents' ) ;
388387
389388 assert . ok ( fs . existsSync ( newDir ) ) ;
390389
0 commit comments