fix test dirs being created inside core folder
This commit is contained in:
parent
ec0180bf95
commit
5f3aa5b7dd
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ export function addToTestDir(pathsOrUris: (string | [string, string])[]) {
|
|||
if (Array.isArray(p)) {
|
||||
fs.writeFileSync(filepath, p[1]);
|
||||
} else if (p.endsWith("/")) {
|
||||
fs.mkdirSync(p, { recursive: true });
|
||||
fs.mkdirSync(filepath, { recursive: true });
|
||||
} else {
|
||||
fs.writeFileSync(filepath, "");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue