Skip to content

Commit

Permalink
Fix QA
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Jul 23, 2019
1 parent 29c8273 commit 50ddd93
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/merge-configs.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ hexo.on('generateBefore', () => {
const path = require('path');
const env = require(path.normalize('../package.json'));
https.get('https://api.github.com/repos/theme-next/hexo-theme-next/releases/latest', {
headers: {
'User-Agent': 'Theme NexT Client'
}
}, res => {
headers: {
'User-Agent': 'Theme NexT Client'
}
}, res => {
var result = '';
res.on('data', data => {
result += data;
Expand All @@ -83,6 +83,6 @@ hexo.on('generateBefore', () => {
hexo.log.error(`Failed to detect version info. Error message:`);
hexo.log.error(e);
}
})
});
});
});

0 comments on commit 50ddd93

Please sign in to comment.