You've already forked hugo-extended
mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2026-06-13 01:45:29 -04:00
switch to ESM imports (drops node 10.x support)
also download assets to a temp dir instead of ./vendor
This commit is contained in:
+3
-3
@@ -2,9 +2,9 @@
|
||||
|
||||
"use strict";
|
||||
|
||||
const { execFile } = require("child_process");
|
||||
const assert = require("assert");
|
||||
const hugo = require("..");
|
||||
import { execFile } from "child_process";
|
||||
import assert from "assert";
|
||||
import hugo from "../index.js";
|
||||
|
||||
it("Hugo exists and runs?", async () => {
|
||||
assert(execFile(hugo, ["env"], (error, stdout) => {
|
||||
|
||||
Reference in New Issue
Block a user