Skip to content

Commit

Permalink
feat(cli): optimize czg retry option cache error message (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhengqbbb committed Jul 15, 2022
1 parent d462f71 commit 757517b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/cli/src/shared/utils/cache.ts
Expand Up @@ -21,7 +21,8 @@ export const getCacheValueSync = (cachePath: string, repoPath: string) => {
return cache[repoPath];
} catch (e) {
throw new Error(
`${style.red(`>>> No found commit message cache in current repo: ${repoPath}`)}`
`${style.red(`>>> No found commit message cache in current repo: ${repoPath}`)}
${style.yellow(`>>> Tip: Retry option requires using once "czg" command commit msg record`)}`
);
}
};

0 comments on commit 757517b

Please sign in to comment.