mirror of https://github.com/vuejs/core.git
				
				
				
			build: don't wait for changelog edits when `--skip-prompts` or `--canary` is specified (#7965)
This commit is contained in:
		
							parent
							
								
									e3de9a6911
								
							
						
					
					
						commit
						543d6dbc94
					
				|  | @ -211,14 +211,16 @@ async function main() { | ||||||
|   await run(`pnpm`, ['run', 'changelog']) |   await run(`pnpm`, ['run', 'changelog']) | ||||||
| 
 | 
 | ||||||
|   // @ts-ignore
 |   // @ts-ignore
 | ||||||
|   const { yes: changelogOk } = await prompt({ |   if (!skipPrompts) { | ||||||
|     type: 'confirm', |     const { yes: changelogOk } = await prompt({ | ||||||
|     name: 'yes', |       type: 'confirm', | ||||||
|     message: `Changelog generated. Does it look good?` |       name: 'yes', | ||||||
|   }) |       message: `Changelog generated. Does it look good?` | ||||||
|  |     }) | ||||||
| 
 | 
 | ||||||
|   if (!changelogOk) { |     if (!changelogOk) { | ||||||
|     return |       return | ||||||
|  |     } | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   // update pnpm-lock.yaml
 |   // update pnpm-lock.yaml
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue