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: actually check formatting rather than fixing it silently #278

Merged
merged 2 commits into from
Dec 4, 2023

Conversation

paulfouquet
Copy link
Collaborator

eslint --fix returns an exit code 0 even when fixing things.

To format the js files, use npm run format instead of previously npm run lint.

@paulfouquet paulfouquet requested a review from a team as a code owner December 4, 2023 00:59
@l0b0 l0b0 enabled auto-merge December 4, 2023 01:01
Copy link
Contributor

@l0b0 l0b0 left a comment

Choose a reason for hiding this comment

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

Pair programmed.

@l0b0 l0b0 added this pull request to the merge queue Dec 4, 2023
Merged via the queue into master with commit 6d0748b Dec 4, 2023
1 check passed
@l0b0 l0b0 deleted the refactor/format-js branch December 4, 2023 01:02
@@ -98,7 +99,7 @@ o.spec('Historical Imagery Extension Collection', () => {
// given
for (const role of ['producer', 'licensor', 'processor', 'host']) {
const example = JSON.parse(await fs.readFile(examplePath));
example.providers = example.providers.filter((provider) => !role in provider.roles);
Copy link
Member

Choose a reason for hiding this comment

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

I know you didn't change this, However I am not entirely sure what this is trying to achieve ? (and if it actually works?) in is not really used in javascript so kinda odd to see it here?

Copy link
Contributor

Choose a reason for hiding this comment

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

Fixed in #280.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants