Skip to content

Commit

Permalink
chore(cz-git): update dirct input custom value output
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhengqbbb committed Jul 9, 2023
1 parent a2a4443 commit 7582126
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/cz-git/src/generator/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ export function generateMessage(answers: Answers,
// resolve custom value
const { customScope, customFooterPrefix } = answers
answers.scope = getCustomValue(answers.scope, customScope)
|| (options.defaultScope?.startsWith('___CUSTOM___:') && customScope)
|| ''
answers.footerPrefix = getCustomValue(answers.footerPrefix, customFooterPrefix) as string
// resolve single | multiple item
const { singleScope, singeIssuePrefix } = getSingleParams(answers, options)
Expand Down

0 comments on commit 7582126

Please sign in to comment.