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

fixes request to version check #1299

Merged
merged 3 commits into from
Jul 8, 2018
Merged

Conversation

comountainclimber
Copy link
Member

@comountainclimber comountainclimber commented Jul 7, 2018

What current issue(s) from Trello/Github does this address?
#1298

screen shot 2018-07-06 at 7 31 20 pm

What problem does this PR solve?

How did you solve this problem?
By using github instead.

How did you make sure your solution works?
Manually testing locally... automated tests coming soon

Are there any special changes in the code that we should be aware of?

Is there anything else we should know?

  • Unit tests written?

const response = await axios.get(`${apiEndpoint}/v2/version`)
const shouldUpdate = response && response.data && compareVersions(version, response.data.version) === -1
const response = await axios.get(CURRENT_RELEASE_URL)
console.log(response)
Copy link

Choose a reason for hiding this comment

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

remove console.log

@drptbl
Copy link

drptbl commented Jul 7, 2018

Tested, looks good. Thanks.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 35.498% when pulling 4d19b2f on feature/fix-version-check into 726b5f1 on dev.

@dvdschwrtz-zz dvdschwrtz-zz merged commit 1e0f4ff into dev Jul 8, 2018
@dvdschwrtz-zz dvdschwrtz-zz deleted the feature/fix-version-check branch July 8, 2018 20:43
@comountainclimber comountainclimber restored the feature/fix-version-check branch July 9, 2018 00:43
@comountainclimber comountainclimber deleted the feature/fix-version-check branch July 9, 2018 00:49
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.

4 participants