Skip to content

Commit

Permalink
fix(cli): git clean check, fix #429
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Mar 21, 2024
1 parent 89fdb40 commit fde7093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/run.ts
Expand Up @@ -49,7 +49,7 @@ export async function run(options: CliRunOptions = {}) {
result = await p.group({
uncommittedConfirmed: () => {
if (argSkipPrompt || isGitClean())

This comment has been minimized.

Copy link
@Muluk-m

Muluk-m Mar 22, 2024

I don't think argSkipPrompt should exist here, because it has existed before him. if (!argSkipPrompt) judgment

return
return Promise.resolve(true)

return p.confirm({
initialValue: false,
Expand Down

0 comments on commit fde7093

Please sign in to comment.