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:
parent
e4b83248a0
commit
e9c4e84744
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user