Skip to content

Conversation

@yaacovCR
Copy link
Contributor

I used this question and answer about the sometimes-surprising behavior of logical operator precedence in Bash as a reference.

@netlify
Copy link

netlify bot commented Jan 13, 2023

Deploy Preview for graphql-spec-draft ready!

Name Link
🔨 Latest commit 982e699
🔍 Latest deploy log https://app.netlify.com/sites/graphql-spec-draft/deploys/63c11b0604d53200084e0fe1
😎 Deploy Preview https://deploy-preview-1008--graphql-spec-draft.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@yaacovCR yaacovCR force-pushed the fix-op-precedence branch 2 times, most recently from 42070d4 to 0b49f6b Compare January 13, 2023 08:36
this isn't perfect, as on my windows bash shell we don't get the error message, but i guess is better, because at least the behavior is correct.

on my machine, it works with curly braces or brackets, but that doesn't work on ci, which seems to want parantheses, which gives the incorrect behavior on my machine!
@benjie
Copy link
Member

benjie commented Jan 13, 2023

Issue was introduced in b9fad9b

benjie
benjie previously requested changes Jan 13, 2023
@benjie benjie dismissed their stale review January 13, 2023 20:06

No good for Windows

Copy link
Member

@benjie benjie left a comment

Choose a reason for hiding this comment

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

Thanks for the quick fix @yaacovCR 🙌

@benjie benjie changed the title fix operator precedence in test:format Fix operator precedence in test:format Jan 13, 2023
@benjie benjie merged commit 45ffddb into graphql:main Jan 13, 2023
@leebyron
Copy link
Collaborator

Til. Thanks for the quick fix folks

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.

3 participants