Skip to content

Error early on --build #926

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 23, 2025
Merged

Error early on --build #926

merged 2 commits into from
May 23, 2025

Conversation

jakebailey
Copy link
Member

This is a bit less cryptic than "error TS6369: Option '--build' must be the first command line argument.", which only shows up because we don't yet have build mode code that checks the first arg.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces an early check for build mode commands, providing a clearer error message instead of a cryptic failure later in processing.

  • Introduces an early branch that detects build mode flags in the first command line argument.
  • Prints a user-friendly message and exits with a not implemented status when a build mode flag is detected.

@jakebailey jakebailey added this pull request to the merge queue May 23, 2025
Merged via the queue into main with commit 1b88303 May 23, 2025
23 checks passed
@jakebailey jakebailey deleted the jabaile/build-mode-error branch May 23, 2025 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants