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

Proprogate seed info to maybeSetDeviceId #222

Merged
merged 1 commit into from Oct 11, 2018
Merged

Proprogate seed info to maybeSetDeviceId #222

merged 1 commit into from Oct 11, 2018

Conversation

@darkdh
Copy link
Member

darkdh commented Oct 10, 2018

fix #221

@darkdh darkdh self-assigned this Oct 10, 2018
@darkdh darkdh requested review from diracdeltas and SergeyZhukovsky Oct 10, 2018
@diracdeltas
Copy link
Member

diracdeltas commented Oct 10, 2018

Could you rebase?

@@ -20,6 +21,7 @@ var clientDeviceId = null
var clientUserId = null
var clientKeys = {}
var config = {}
var seed = null

This comment has been minimized.

Copy link
@diracdeltas

diracdeltas Oct 10, 2018

Member

[minor] can you set this to undefined so https://github.com/brave/sync/pull/222/files#diff-6ce8437e6c27185736d22013ce441e15R71 is the same as before in the case where the seed hasn't been set?

@darkdh darkdh force-pushed the save_init_data branch from 10614c8 to b5fd363 Oct 10, 2018
@darkdh
Copy link
Member Author

darkdh commented Oct 10, 2018

addressed in b5fd363

@diracdeltas
Copy link
Member

diracdeltas commented Oct 10, 2018

lint is failing

@darkdh
Copy link
Member Author

darkdh commented Oct 10, 2018

one is /home/travis/build/brave/sync/client/sync.js:24:5: It's not necessary to initialize 'seed' to undefined.

fix #221
@darkdh darkdh force-pushed the save_init_data branch from b5fd363 to 0fcb89f Oct 10, 2018
@diracdeltas
Copy link
Member

diracdeltas commented Oct 10, 2018

@darkdh you can just do var seed without setting a value

@darkdh
Copy link
Member Author

darkdh commented Oct 10, 2018

yep, fixed in 0fcb89f

@darkdh darkdh merged commit a666a27 into staging Oct 11, 2018
1 check passed
1 check passed
continuous-integration/travis-ci/push The Travis CI build passed
Details
@darkdh darkdh deleted the save_init_data branch Oct 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

2 participants
You can’t perform that action at this time.