Skip to content

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

Merged
aeisenberg merged 1 commit intomainfrom
aeisenerg/empty-additional-packs
Feb 22, 2022
Merged

Ensure --addtional-packs arg not used for empty workspace#1157
aeisenberg merged 1 commit intomainfrom
aeisenerg/empty-additional-packs

Conversation

@aeisenberg
Copy link
Copy Markdown
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
}
}

private getAdditionalPacksArg(paths: string[]): string[] {
Copy link
Copy Markdown
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
Copy Markdown
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