From 6ee7dd96243a08bab996c9c6cbe74e8b66f17946 Mon Sep 17 00:00:00 2001 From: Technote Date: Sat, 31 Aug 2019 12:18:55 +0900 Subject: [PATCH 1/2] chore: remove unnecessary code --- src/utils/command.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/utils/command.ts b/src/utils/command.ts index 21415ff6..e59d6a3d 100644 --- a/src/utils/command.ts +++ b/src/utils/command.ts @@ -42,7 +42,6 @@ const runDocToc = async (workDir: string): Promise => { 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; }; From 119ea802762b77f688746b7554a49f478f176f3d Mon Sep 17 00:00:00 2001 From: Technote Date: Sat, 31 Aug 2019 12:46:52 +0900 Subject: [PATCH 2/2] chore: output --- src/utils/github.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/github.ts b/src/utils/github.ts index dc41ec5b..e415a2cb 100644 --- a/src/utils/github.ts +++ b/src/utils/github.ts @@ -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; };