Skip to content

Commit

Permalink
Merge 119ea80 into 6eca1b4
Browse files Browse the repository at this point in the history
  • Loading branch information
technote-space committed Aug 31, 2019
2 parents 6eca1b4 + 119ea80 commit 7052491
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/utils/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ const runDocToc = async (workDir: string): Promise<boolean> => {
const doctoc = path.resolve(workDir, 'node_modules/.bin/doctoc');
await execAsync(`yarn --cwd ${workDir} add doctoc`);
await execAsync(`${doctoc} ${args} --github`);
await execAsync(`yarn --cwd ${workDir} remove doctoc`);
return true;
};

Expand Down
4 changes: 2 additions & 2 deletions src/utils/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ export const push = async (files: string[], octokit: GitHub, context: Context):
signale.info('>> Creating tree...');
const tree = await createTree(blobs, octokit, context);

signale.info('>> Creating commit...');
signale.info('>> Creating commit... [%s]', tree.data.sha);
const commit = await createCommit(tree, octokit, context);

signale.info('>> Updating ref...');
signale.info('>> Updating ref... [%s] [%s]', getRefForUpdate(context), commit.data.sha);
await updateRef(commit, octokit, context);
return true;
};
Expand Down

0 comments on commit 7052491

Please sign in to comment.