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

chore(e2e): throw if we're unexpectedly building Compass COMPASS-8615 #6618

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

lerouxb
Copy link
Contributor

@lerouxb lerouxb commented Jan 15, 2025

This is here to make very sure that we're definitely testing the packaged app when we intend to. Mostly to not trip me up every time I read over that code.

@lerouxb lerouxb added the no release notes Fix or feature not for release notes label Jan 15, 2025
@@ -949,18 +949,20 @@ async function getCompassBuildMetadata(): Promise<BinPathOptions> {
}

export async function buildCompass(
force = false,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

drive-by, but we never use this

@@ -949,18 +949,20 @@ async function getCompassBuildMetadata(): Promise<BinPathOptions> {
}

export async function buildCompass(
force = false,
compassPath = COMPASS_DESKTOP_PATH
Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes the second parameter became the first, but we never pass either of these parameters, so that didn't require other changes.

Copy link
Collaborator

@gribnoysup gribnoysup left a comment

Choose a reason for hiding this comment

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

Love the PR title 😆

@lerouxb lerouxb merged commit a066fa8 into main Jan 15, 2025
24 of 28 checks passed
@lerouxb lerouxb deleted the throw-if-we-rebuild branch January 15, 2025 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no release notes Fix or feature not for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants