Fix macOs-latest test

pull/252/head
Aiqiao Yan 2020-04-10 15:50:35 -04:00
parent 7ccdf5c70d
commit 08438313d5
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ test("create BSD tar", async () => {
const workspace = process.env["GITHUB_WORKSPACE"];
const sourceDirectories = ["~/.npm/cache", `${workspace}/dist`];
await fs.mkdir(archiveFolder, () => void { recursive: true });
await fs.promises.mkdir(archiveFolder, { recursive: true });
await tar.createTar(archiveFolder, sourceDirectories);