Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit 1de7930

Browse files
committed
use path.sep
1 parent 973a178 commit 1de7930

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/fs.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ describe('fs.ts', () => {
2121
temporaryDir = await new Promise<string>((resolve, reject) => {
2222
temp.mkdir('local-fs', (err: Error, dirPath: string) => err ? reject(err) : resolve(dirPath));
2323
});
24-
baseUri = path2uri(new URL('file:///'), temporaryDir + '/');
24+
baseUri = path2uri(new URL('file:///'), temporaryDir + path.sep);
2525
await fs.mkdir(path.join(temporaryDir, 'f💩o'));
2626
await fs.mkdir(path.join(temporaryDir, '@types'));
2727
await fs.mkdir(path.join(temporaryDir, '@types', 'diff'));

0 commit comments

Comments
 (0)