Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add Utils to read files #93

Merged
merged 2 commits into from
May 18, 2020
Merged

Add Utils to read files #93

merged 2 commits into from
May 18, 2020

Conversation

f-meloni
Copy link
Member

No description provided.

@@ -29,4 +29,6 @@ data class DangerDSL(
get() = _bitBucketServer != null
val onGitLab
get() = _gitlab != null

val utils = Utils()
Copy link
Member

Choose a reason for hiding this comment

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

what about provide a set of extensions functions instead? then we don't need to put an additional object for that.
Same way as implemented for the onGitHub and onBitbucket

Copy link
Member Author

Choose a reason for hiding this comment

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

We use utils on the other danger, I prefer to keep the consistency, also because the functions are the same

@f-meloni f-meloni merged commit 17f9074 into master May 18, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants