Skip to content

Conversation

@nitzanj
Copy link
Contributor

@nitzanj nitzanj commented Jun 7, 2020

No description provided.

dir.mkdir()
def file = new File(dir, "cloudinary_url.txt")
file.createNewFile()
file.text = cloudinaryUrl
Copy link
Contributor

Choose a reason for hiding this comment

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

Is that writing to a file?
no outputStream blabla is needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's a groovy's enhancement to java's File class, it's does all the stream operations inside.

Copy link
Contributor

Choose a reason for hiding this comment

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

Why? it was soooo elegant in Java 😒

@nitzanj nitzanj merged commit 75c9e74 into master Jun 8, 2020
@nitzanj nitzanj deleted the feature/add-test-account-creation branch June 8, 2020 06:15
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.

3 participants