diff --git a/src/utils/command.ts b/src/utils/command.ts index e59d6a3d..a5df49d2 100644 --- a/src/utils/command.ts +++ b/src/utils/command.ts @@ -40,7 +40,7 @@ const getCurrentBranchName = async (workDir: string): Promise => { const runDocToc = async (workDir: string): Promise => { const args = getDocTocArgs(); const doctoc = path.resolve(workDir, 'node_modules/.bin/doctoc'); - await execAsync(`yarn --cwd ${workDir} add doctoc`); + await execAsync(`yarn --cwd ${workDir} add doctoc`, false, null, false, true); await execAsync(`${doctoc} ${args} --github`); return true; };