Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Improve Ocean.assets.isConsumable return interface and message #869

Merged

Conversation

krisliew
Copy link
Contributor

Changes proposed in this PR:

  • isConsumable should also return a boolean based on its naming convention is to decide whether an asset is consumable. Hence, added result:boolean in consumable interface.
  • Improved returned consumable.message

@codeclimate
Copy link

codeclimate bot commented Jun 28, 2021

Code Climate has analyzed commit 8d660b9 and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 80.2% (0.1% change).

View more on Code Climate.

@krisliew krisliew marked this pull request as ready for review June 28, 2021 07:21
@krisliew krisliew self-assigned this Jun 28, 2021
@krisliew krisliew merged commit 5d4250f into main Jun 28, 2021
@krisliew krisliew deleted the feature/ocean.assets.isConsumable-improve-return-value branch June 28, 2021 07:26
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