You've already forked hugo-extended
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:
+2
-2
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user