-
Notifications
You must be signed in to change notification settings - Fork 41
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
Conversation
Do not merge. Still lots to do! Please feel free to make comments. This is a critical feature and I want it built right. |
@szeck87 : Can now see Coverage page by adding |
…r/push 🎨 Fix formatting of 8 files for commit b163082
…r/push 🎨 Fix formatting of 4 files for commit 43612fe
There was a problem hiding this 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); |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs code coverage.
And if we want to hit 100% code coverage, this line too: |
…r/push 🎨 Fix formatting of 2 files for commit 770e218
See #58
Example: https://github.com/Unibeautify/beautifier-php-cs-fixer