Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pddg committed Mar 15, 2024
1 parent 6162e26 commit 0629ed2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ const prepare = (moduleType: string): string => {
);
const errorTexFile = readFromTmplDir("error.tex.tmpl");

const tmpDir = fs.mkdtempSync(os.tmpdir());
const tmpDir = fs.mkdtempSync(
path.join(os.tmpdir(), "textlint-plugin-latex-e2e-"),
);
const writeToTmpDir = (filename: string, content: string): void => {
fs.writeFileSync(path.join(tmpDir, filename), content);
};
Expand Down

0 comments on commit 0629ed2

Please sign in to comment.