Skip to content

Commit 008d100

Browse files
committed
fixup!
1 parent bd648bc commit 008d100

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/generators/ast/generate.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
import { readFile } from 'node:fs/promises';
4-
import { basename, relative, sep } from 'node:path/posix';
4+
import { relative, sep } from 'node:path/posix';
55

66
import globParent from 'glob-parent';
77
import { globSync } from 'tinyglobby';
@@ -38,7 +38,6 @@ export async function processChunk(inputSlice, itemIndices) {
3838
tree: remarkProcessor.parse(value),
3939
// The path is the relative path minus the extension
4040
path: relativePath,
41-
basename: basename(relativePath),
4241
});
4342
}
4443

0 commit comments

Comments
 (0)