1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-10-16 09:54:28 -04:00

Switch to async methods (#128)

This commit is contained in:
XhmikosR
2023-03-17 09:22:09 +02:00
committed by GitHub
parent 9e6b5c865f
commit 9985b1c985
6 changed files with 44 additions and 30 deletions

View File

@@ -1,4 +1,6 @@
import process from 'node:process';
import lib from './lib/index.js';
export default lib(process.cwd()).path();
const hugoBin = await lib(process.cwd());
export default hugoBin.path();