Skip to content

Commit

Permalink
fix(cli): remove BREAKINGCHANGE question limit when czg break
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhengqbbb committed Jun 26, 2022
1 parent 23e6aae commit 1bf9a72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cz-git/src/generator/question.ts
Expand Up @@ -185,7 +185,7 @@ export const generateQuestions = (options: CommitizenGitOptions, cz: any) => {
) {
return true;
} else {
return answers.markBreaking || false;
return answers.markBreaking || Boolean(process.env.break === "1") || false;
}
},
transformer: (input: string) => useThemeCode(input, options.themeColorCode)
Expand Down

0 comments on commit 1bf9a72

Please sign in to comment.