Commit 08438313 authored by Aiqiao Yan's avatar Aiqiao Yan
Browse files

Fix macOs-latest test

parent 7ccdf5c7
Loading
Loading
Loading
Loading
+1 −1
Changes for __tests__/tar.test.ts: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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);