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

WIP: Dependency manager #63

Merged
merged 31 commits into from
Apr 5, 2018
Merged

WIP: Dependency manager #63

merged 31 commits into from
Apr 5, 2018

Conversation

Glavin001
Copy link
Member

@Glavin001 Glavin001 commented Mar 22, 2018

@Glavin001
Copy link
Member Author

Do not merge. Still lots to do!

Please feel free to make comments. This is a critical feature and I want it built right.

@Glavin001
Copy link
Member Author

@szeck87 : Can now see Coverage page by adding /coverage to Netlify preview link: https://5abc7023df99537901e29491--unibeautify-api.netlify.com/coverage/

…r/push

🎨 Fix formatting of 4 files for commit 43612fe
Copy link
Contributor

@stevenzeck stevenzeck left a comment

Choose a reason for hiding this comment

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

Please also fix #70 so that the builds pass.


public load(): Promise<boolean> {
if (this.isInstalled) {
return Promise.resolve(this.isInstalled);
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs code coverage.

return patterns.reduce(
(extracted: string | undefined, pattern: string | RegExp) => {
if (extracted) {
return extracted;
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs code coverage.

return (stdout += data);
});
cmd.stderr.on("data", data => {
return (stderr += data);
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs code coverage.

return reject(err);
});
if (stdin) {
cmd.stdin.end(stdin);
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs code coverage.

@stevenzeck
Copy link
Contributor

And if we want to hit 100% code coverage, this line too:
https://github.com/Unibeautify/unibeautify/blob/dependency-manager/src/InlineFlagManager.ts#L31

stevenzeck
stevenzeck previously approved these changes Apr 5, 2018
stevenzeck
stevenzeck previously approved these changes Apr 5, 2018
…r/push

🎨 Fix formatting of 2 files for commit 770e218
@stevenzeck stevenzeck merged commit 1256b50 into master Apr 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants