Skip to content

Commit

Permalink
Normalize all paths so that they work on UNIX OS
Browse files Browse the repository at this point in the history
  • Loading branch information
nturinski committed Oct 31, 2023
1 parent d57745a commit 817b135
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions appservice/test/getFilesFrom.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ const gitignoreContent = `
`;

const expectedFiles = [
".gitignore",
"dir3\\sub2\\file.txt",
"dir1\\file.txt",
"dir1\\sub2\\file.txt",
"dir1\\sub1\\file.txt",
"dir3\\file.txt",
path.normalize(".gitignore"),
path.normalize("dir3\\sub2\\file.txt"),
path.normalize("dir1\\file.txt"),
path.normalize("dir1\\sub2\\file.txt"),
path.normalize("dir1\\sub1\\file.txt"),
path.normalize("dir3\\file.txt"),
];

0 comments on commit 817b135

Please sign in to comment.