1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2026-06-13 01:45:29 -04:00

use @jakejarvis/eslint-config, switch to yarn

This commit is contained in:
2021-08-31 10:28:03 -04:00
parent 09b503609b
commit 0f315eadc4
10 changed files with 2386 additions and 4795 deletions
+9 -7
View File
@@ -1,14 +1,16 @@
/* eslint-env node, mocha */
'use strict';
"use strict";
const { execFile } = require('child_process');
const assert = require('assert');
const hugo = require('..');
const { execFile } = require("child_process");
const assert = require("assert");
const hugo = require("..");
it('Hugo exists and runs?', async () => {
assert(execFile(hugo, ['env'], (error, stdout) => {
if (error) throw error;
it("Hugo exists and runs?", async () => {
assert(execFile(hugo, ["env"], (error, stdout) => {
if (error) {
throw error;
}
console.log(stdout);
}));
});