Skip to content

Commit 80b9695

Browse files
committed
Bump node version to fix build
1 parent 72608b7 commit 80b9695

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"postbuild": "yarn lint:md:dist"
6767
},
6868
"volta": {
69-
"node": "12.22.1",
69+
"node": "14.19.1",
7070
"yarn": "1.22.10"
7171
}
7272
}

src/bin/generate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ async function group<T>(name: string, callback: () => Promise<T>): Promise<T> {
4444
async function run(processor: Processor, inputPath: string, outputPath: string, options: VFileOptions): Promise<void> {
4545
let contents = await readFile(inputPath, { encoding: 'utf8' });
4646
let result = await processor.process({ ...options, contents });
47-
await writeFile(outputPath, result, { encoding: 'utf8' });
47+
await writeFile(outputPath, result.toString(), { encoding: 'utf8' });
4848
}
4949

5050
async function main() {

0 commit comments

Comments
 (0)