Skip to content
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

fix(server): Generate help message before using attempting to resolve… #1910

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

atscott
Copy link
Collaborator

@atscott atscott commented Aug 10, 2023

… any require statements

The requireOverride resolves TSServer from the command line arguments. The createLogger import will end up executing this code. As a result, we need to parse and show the help message before the logger import or the --help option will fail due to a failure to resolve the TS dependency.

fixes #1899

… any require statements

The `requireOverride` resolves TSServer from the command line arguments.
The `createLogger` import will end up executing this code. As a result,
we need to parse and show the help message before the logger import or
the --help option will fail due to a failure to resolve the TS
dependency.

fixes angular#1899
@atscott atscott added the target: patch This PR is targeted for the next patch release label Aug 10, 2023
@atscott atscott requested a review from dylhunn August 11, 2023 16:07
@atscott atscott added the action: merge Ready to merge label Aug 11, 2023
@atscott atscott merged commit 6d3267d into angular:main Aug 11, 2023
5 checks passed
atscott added a commit that referenced this pull request Aug 11, 2023
… any require statements (#1910)

The `requireOverride` resolves TSServer from the command line arguments.
The `createLogger` import will end up executing this code. As a result,
we need to parse and show the help message before the logger import or
the --help option will fail due to a failure to resolve the TS
dependency.

fixes #1899

(cherry picked from commit 6d3267d)
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge Ready to merge target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot display the language server help page
2 participants