Skip to content

Commit e227deb

Browse files
Bashamegasaschanaz
andauthored
Update src/build/patches.ts
Co-authored-by: Kagami Sascha Rosylight <[email protected]>
1 parent 162b92c commit e227deb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/build/patches.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ async function getAllFileURLs(folder: URL): Promise<URL[]> {
363363
/**
364364
* Read and parse a single KDL file into its KDL Document structure.
365365
*/
366-
async function readPatchDocument(fileUrl: URL): Promise<Node[]> {
366+
async function readPatchDocument(fileUrl: URL): Promise<Document> {
367367
const text = await readFile(fileUrl, "utf8");
368368
const { output, errors } = parse(text);
369369
if (errors.length) {

0 commit comments

Comments
 (0)