Skip to content

Commit

Permalink
release 6.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
saqqdy committed Feb 2, 2024
1 parent 13384f5 commit 4a09793
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/gitmars/src/gitm-build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ program.action(async (project: string, opt: GitmBuildOption): Promise<void> => {
const data = JSON.parse(opt.data || '{}')
let confirm = opt.confirm

if (!confirm) {
// 有opt.data时强制确认
if (!confirm || (opt.data && opt.data !== '{}')) {
let message = `${yellow(t('Please double check the following build parameters'))}\n${t(
'Project Name'
)}: ${red(project)}\n${t('Code Branch')}: ${red(opt.env)}\n${t('Build Application')}: ${red(
Expand Down

0 comments on commit 4a09793

Please sign in to comment.