Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

fix: Files flag #37 #38

Merged
merged 1 commit into from
Feb 18, 2021
Merged

fix: Files flag #37 #38

merged 1 commit into from
Feb 18, 2021

Conversation

beshanoe
Copy link
Contributor

@beshanoe beshanoe commented Feb 16, 2021

Description

It turned out that the function getProjectsByName would only allow passing one matched file by project. I've fixed that and also I removed the part where the function had 2 different types of return. I had to change other places which expected 2 different types

Fixes #37

Checklist:

  • [x ] My code follows the style guidelines of this project
  • [x ] I have performed a self-review of my own code
  • [ x] I have added tests to cover my changes
  • I have made corresponding changes to the documentation

Disclaimer

By sending us your contributions, you are agreeing that your contribution is made subject to the terms of our Contributor Ownership Statement

@@ -18,6 +18,7 @@ class ClassMap extends Map<Constructor<any>, any> {
}

export class Project {
readonly isProject = true;
Copy link
Contributor

Choose a reason for hiding this comment

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

From what I saw this variable is not used anywhere should we had it to the class Project?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good point! removed

@beshanoe beshanoe force-pushed the fix/#37_files_flag branch 2 times, most recently from bd5a5e3 to 1183cfc Compare February 17, 2021 19:27
@beshanoe beshanoe merged commit 95b4db8 into master Feb 18, 2021
@beshanoe beshanoe deleted the fix/#37_files_flag branch February 18, 2021 11:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Garment eslint-runner is only running on a single file of each project when running with --files option
2 participants