这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@SeanBarker182
Copy link
Contributor

Description

Problem

Yargs parses --no-timeout as { timeout: false } (boolean negation), but the code only checked options.noTimeout, which was undefined.

Solution

Updated timeout logic to handle both:

  • options.noTimeout (from --no-timeout=true/false)
  • options.timeout (from --no-timeout or --timeout)

Testing

All flag variations now work correctly:

Checklist

  • I have manually tested this, including by generating a new app locally (see docs).

Copy link
Contributor

@frankcalise frankcalise left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks Sean!

@SeanBarker182 SeanBarker182 merged commit df2ae6f into master Sep 23, 2025
3 checks passed
@SeanBarker182 SeanBarker182 deleted the fix/timeout-boolean-negotiation branch September 23, 2025 17:34
infinitered-circleci pushed a commit that referenced this pull request Sep 23, 2025
## [11.1.3](v11.1.2...v11.1.3) (2025-09-23)

### Bug Fixes

* **cli:** handle boolean negotiation for --no-timeout CLI argument ([#2998](#2998)) ([df2ae6f](df2ae6f))
@infinitered-circleci
Copy link
Collaborator

🎉 This PR is included in version 11.1.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

App creation time out with the latest ignite cli

4 participants