-
Notifications
You must be signed in to change notification settings - Fork 134
add RC snippets #104
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
add RC snippets #104
Conversation
| function addNewCondition(template) { | ||
| template.conditions.push({ | ||
| name: 'android_en', | ||
| expression: 'device.os == \'android\' && device.country in [\'us\', \'uk\']', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you use " for the string you won't have to escape the ':
"device.os == 'android' && device.country in ['us', 'uk']"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint is yelling at me, should I ignore it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe using ` instead of " will make it stop yelling?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is still angry 22:17 error Strings must use singlequote quotes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eh ok not worth fighting more, but thats strange
| "version": "1.0.0", | ||
| "description": "", | ||
| "main": "index.js", | ||
| "scripts": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check out the package.json for some of the other modules. You should:
- Make sure this is included in
lerna.json - Get rid of the
testscript that failes - Add a
compilescript like the others
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm, this should have been in there. Thanks for pointing it out. I'll add it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Add snippets for Firebase Remote Config.