Skip to content

Add missing comma after :strip_color - #45

Open
Shuiei wants to merge 1 commit into
coorasse:mainfrom
arc-connect:fix-strip-color-comma
Open

Shuiei wants to merge 1 commit into
coorasse:mainfrom
arc-connect:fix-strip-color-comma

Conversation

@Shuiei

@Shuiei Shuiei commented Sep 15, 2026

Copy link
Copy Markdown

#44 added :strip_color to the delegate list in app/models/passkit/pass.rb without a trailing comma, so the file does not parse.

ruby -c app/models/passkit/pass.rb on current main:

app/models/passkit/pass.rb:43: syntax errors found (SyntaxError)
  41 |       :sharing_prohibited,
  42 |       :strip_color
> 43 |       :suppress_strip_shine,
     |                            ^ unexpected ',', ignoring it

This adds the comma. One line, no other change. ruby -c passes after it.

Without it app/models/passkit/pass.rb raises a SyntaxError on load.
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.

1 participant