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: properly pass array entries as separate indices #1502

Merged
merged 3 commits into from Dec 26, 2020

Conversation

erwinc1
Copy link
Contributor

@erwinc1 erwinc1 commented Dec 23, 2020

Description

The array of stores by default contains two shops in one entry. To fix this, you must enter both shops as separate entries.

Testing

old

[11:19:59 AM] warn :: No store named amazon,bestbuy, skipping.
[11:19:59 AM] info :: ℹ selected stores: amazon,bestbuy
[11:19:59 AM] info :: ℹ selected series: 3060ti, 3070, 3080, 3090, rx6800, rx6800xt, rx6900xt, ryzen5600, ryzen5800, ryzen5900, ryzen5950, sonyps5c, sonyps5de, xboxss, xboxsx

after fix

[11:25:15 AM] info :: ℹ selected stores: amazon, bestbuy
[11:25:15 AM] info :: ℹ selected series: 3060ti, 3070, 3080, 3090, rx6800, rx6800xt, rx6900xt, ryzen5600, ryzen5800, ryzen5900, ryzen5950, sonyps5c, sonyps5de, xboxss, xboxsx
[11:25:28 AM] info :: ✖ [amazon] [asus (3080)] strix :: OUT OF STOCK
[11:25:31 AM] info :: ✖ [amazon] [msi (3080)] gaming x trio :: OUT OF STOCK

@erwinc1 erwinc1 requested a review from jef as a code owner December 23, 2020 10:31
@erwinc1 erwinc1 changed the title Properly pass array entries as separate indices fix: Properly pass array entries as separate indices Dec 23, 2020
@selop
Copy link
Contributor

selop commented Dec 25, 2020

Nice catch! You can fix the linting errors by running npm run lint and go over each hint.

Copy link
Owner

@jef jef left a comment

Choose a reason for hiding this comment

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

Great catch! Thank you very much.

@jef jef changed the title fix: Properly pass array entries as separate indices fix: properly pass array entries as separate indices Dec 26, 2020
@jef jef merged commit 0c6e2d5 into jef:main Dec 26, 2020
@erwinc1 erwinc1 deleted the fix/array-syntax branch December 28, 2020 07:20
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.

None yet

3 participants