Skip to content

Commit bcdf6a8

Browse files
committed
Build Tools: Docgen: Remove space normalization
See #18840 (comment)
1 parent 41e5daa commit bcdf6a8

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

bin/api-docs/update-readmes.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -205,14 +205,7 @@ glob.stream( [
205205
for ( const [ token, path ] of tokens ) {
206206
try {
207207
await execa(
208-
join(
209-
__dirname,
210-
'..',
211-
'..',
212-
'node_modules',
213-
'.bin',
214-
'docgen'
215-
).replace( / /g, '\\ ' ),
208+
join( __dirname, '..', 'node_modules', '.bin', 'docgen' ),
216209
[
217210
relative( ROOT_DIR, resolve( dirname( file ), path ) ),
218211
`--output ${ output }`,

0 commit comments

Comments
 (0)