You've already forked hugo-extended
mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2026-06-14 15:45:27 -04:00
yarn ➡️ pnpm
This commit is contained in:
+4
-4
@@ -12,9 +12,9 @@ it("Hugo exists and runs?", async function () {
|
||||
const hugoPath = await hugo();
|
||||
|
||||
assert(execFile(hugoPath, ["env"], function (error, stdout) {
|
||||
if (error) {
|
||||
if (error)
|
||||
throw error;
|
||||
}
|
||||
|
||||
console.log(stdout);
|
||||
}));
|
||||
});
|
||||
@@ -28,9 +28,9 @@ it("Hugo doesn't exist, install it instead of throwing an error", async function
|
||||
const hugoPath = await hugo();
|
||||
|
||||
assert(execFile(hugoPath, ["version"], function (error, stdout) {
|
||||
if (error) {
|
||||
if (error)
|
||||
throw error;
|
||||
}
|
||||
|
||||
console.log(stdout);
|
||||
}));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user