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

feat: Make generator compatible with v2 API #2177

Merged
merged 1 commit into from
Feb 29, 2020

Conversation

iamareebjamal
Copy link
Member

@iamareebjamal iamareebjamal commented Feb 29, 2020

Fixes #2133

cb();
});
}).catch(error => {
console.error('Error while parsing JSONAPI response', error);

Choose a reason for hiding this comment

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

Unexpected console statement no-console

new JSONAPIDeserializer().deserialize(json).then(data => {
fs.writeFile(fileName, JSON.stringify(data), 'utf-8', function(error) {
if (error) {
console.log(error);

Choose a reason for hiding this comment

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

Unexpected console statement no-console

@codecov
Copy link

codecov bot commented Feb 29, 2020

Codecov Report

Merging #2177 into development will decrease coverage by 0.89%.
The diff coverage is n/a.

Impacted file tree graph

@@               Coverage Diff               @@
##           development    #2177      +/-   ##
===============================================
- Coverage        75.76%   74.87%   -0.90%     
===============================================
  Files                8        9       +1     
  Lines             1919     2376     +457     
  Branches           358      425      +67     
===============================================
+ Hits              1454     1779     +325     
- Misses             465      597     +132     
Impacted Files Coverage Δ
src/backend/generator.js 71.68% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c147f7b...77afc74. Read the comment docs.

@iamareebjamal iamareebjamal merged commit 40b5989 into fossasia:development Feb 29, 2020
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.

Cannot generate site with new API
2 participants