Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@samacs
Copy link

@samacs samacs commented Mar 14, 2019

Just added Ignored field to JSON configuration and the Dogo struct to deal with ignored folders and files under the ignored folders.

If the resource being checked is a folder it is just skipped from adding to the Dogo.sourceDir. All subsequent files under that directory are also ignored.

I think it would have been easier to use map[string]string for the Dogo.Ignored field to perform a 1:1 search but I think it's easier to write only an array of files/folders in the JSON file.

@liudng
Copy link
Owner

liudng commented Mar 15, 2019

samacs, thank you for your submission.
please convert the 1 tab character with 4 spaces to indent the source code.

@samacs
Copy link
Author

samacs commented Mar 15, 2019 via email

@liudng
Copy link
Owner

liudng commented Mar 15, 2019

Of course not. this is a good practice.

@liudng
Copy link
Owner

liudng commented Mar 15, 2019

sorry, my idea is to return to the version before 6ee2a10 and submit the merge request. The benefit of this is a clearer revision history.

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.

2 participants