MetaMask / module-lint

Analyzes one or more repos for divergence from a template repo.
1 stars 3 forks source link

Add establishMetaMaskRepository + OutputLogger #30

Closed mcmire closed 9 months ago

mcmire commented 9 months ago

In order to analyze a project, that project must be cloned first along with the MetaMask module template. So, there must be some function that checks for whether a repo has been cloned yet and clones it if not.

This commit introduces code to implement the steps involved in doing this. It also introduces a utility class for sending messages to standard out and standard error streams, as well as a version that can be used in tests (which fakes out the streams).

Closes #34.

socket-security[bot] commented 9 months ago

New dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
stdio-mock 1.2.0 None +0 26.4 kB tylors
mcmire commented 9 months ago

@Gudahtt I believe I've addressed all of your comments. Ready for another look.