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: diff coverage #3

Merged
merged 5 commits into from
Dec 8, 2020
Merged

feat: diff coverage #3

merged 5 commits into from
Dec 8, 2020

Conversation

ColaDaddyz
Copy link
Member

No description provided.

lib/collector.js Outdated
* @param {Object} options Optional. Configuration options.
* @param {Store} options.store - an implementation of `Store` to use for temporary
* calculations.
*/
function Collector(options) {
options = options || {};
this.store = options.store || new MemoryStore();
this.incrementalFilesMap = null;
Copy link
Member

Choose a reason for hiding this comment

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

remove

const indexFile = path.resolve(dir, 'index.html');

if (this.opts.verbose) {
console.error('Writing ' + indexFile);
}

writer.writeFile(indexFile, (contentWriter) => {
this.writeIndexPage(contentWriter, node);
// TODO 处理首屏
Copy link
Member

Choose a reason for hiding this comment

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

remove

* chore: fix ci
@xudafeng xudafeng merged commit 98ad4a7 into master Dec 8, 2020
@xudafeng xudafeng deleted the feat/diff-coverage branch December 8, 2020 11:19
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.

None yet

2 participants