Skip to content

Commit

Permalink
quick fix for Windows?
Browse files Browse the repository at this point in the history
  • Loading branch information
agilgur5 committed May 14, 2022
1 parent fb8185d commit c96c959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/get-options-overrides.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const local = (x: string) => path.resolve(__dirname, x);
const cacheDir = local("__temp/get-options-overrides");

// filter expects an absolute path and resolve include/exclude to process.cwd() by default: https://github.com/ezolenko/rollup-plugin-typescript2/pull/321#discussion_r873077874
const filtPath = (path: string) => `${process.cwd()}/${path}`;
const filtPath = (relPath: string) => path.normalize(`${process.cwd()}/${relPath}`);

afterAll(() => remove(cacheDir));

Expand Down

0 comments on commit c96c959

Please sign in to comment.