1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2026-06-14 15:45:27 -04:00

require node 14

This commit is contained in:
2023-05-25 09:43:47 -04:00
parent 8989796023
commit 08cead98d6
5 changed files with 261 additions and 312 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
import path from "path";
import { execFile } from "child_process";
import assert from "assert";
import del from "del";
import { deleteAsync } from "del";
import hugo from "../index.js";
import { getBinPath } from "../lib/utils.js";
@@ -23,7 +23,7 @@ it("Hugo doesn't exist, install it instead of throwing an error", async function
this.timeout(30000); // increase timeout to an excessive 30 seconds for CI
// delete binary to ensure it's auto-reinstalled
await del(path.dirname(getBinPath()));
await deleteAsync(path.dirname(getBinPath()));
const hugoPath = await hugo();