1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-04-26 13:28:28 -04:00

Update README.md

This commit is contained in:
XhmikosR 2021-12-07 12:46:20 +02:00 committed by GitHub
parent e4b83248a0
commit e9c4e84744
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,8 +15,8 @@ hugo-bin now supports the [Extended Hugo version](https://github.com/gohugoio/hu
### API
```js
const { execFile } = require('child_process');
const hugo = require('hugo-bin');
import { execFile } from 'node:child_process';
import hugo from 'hugo-bin';
execFile(hugo, ['version'], (error, stdout) => {
if (error) {