Skip to content

Commit ee0e7fb

Browse files
committed
fix: execute compodoc via node_modules instead of package manager
fixes #56
1 parent 4471710 commit ee0e7fb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/compodoc/src/executors/build/executor.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ export default async function runExecutor(
3030
? context.root
3131
: joinPathFragments(context.root, project.root);
3232

33-
const cmd = `${getPackageManagerCommand().exec} compodoc`;
33+
const cmd = relative(
34+
cwd,
35+
joinPathFragments(context.root, 'node_modules', '.bin', 'compodoc'),
36+
);
3437
const cmdArgs = toArguments(toCompodocOptions(options, context));
3538
const cmdOpts = { cwd, shell: true };
3639

0 commit comments

Comments
 (0)