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

Ensure --addtional-packs arg not used for empty workspace #1157

Merged
merged 1 commit into from
Feb 22, 2022

Conversation

aeisenberg
Copy link
Contributor

@aeisenberg aeisenberg commented Feb 18, 2022

Fixes #1066

Checklist

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

@aeisenberg aeisenberg requested a review from a team as a code owner February 18, 2022 18:15
@aeisenberg aeisenberg force-pushed the aeisenerg/empty-additional-packs branch from b0e5338 to 251f354 Compare February 18, 2022 18:17
@@ -929,6 +930,12 @@ export class CodeQLCliServer implements Disposable {
throw new Error('No distribution found');
}
}

private getAdditionalPacksArg(paths: string[]): string[] {
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor: Is Args more appropriate here since the return type is an array?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I used Arg (singular) since this method returns the --additional-packs argument.

@aeisenberg aeisenberg merged commit ddc941f into main Feb 22, 2022
@aeisenberg aeisenberg deleted the aeisenerg/empty-additional-packs branch February 22, 2022 17:44
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.

Resolving upgrades takes a long time when the current workspace has no workspace roots
2 participants