Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

add resourceMaxDuration to resource #98

Merged
merged 2 commits into from Aug 21, 2019

Conversation

fatihaydilek
Copy link
Contributor

No description provided.

@@ -50,6 +53,9 @@ class Resource {
});
}
this.resourceDuration += resource.resourceDuration;
if (resource.resourceDuration > this.resourceMaxDuration) {
Copy link
Member

Choose a reason for hiding this comment

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

I think this should be

if (resource.resourceMaxDuration > this.resourceMaxDuration) {
    this.resourceMaxDuration = resource.resourceMaxDuration;
}

as we are merging two resources

@coveralls
Copy link

Pull Request Test Coverage Report for Build 593

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.04%) to 70.105%

Totals Coverage Status
Change from base Build 590: 0.04%
Covered Lines: 2274
Relevant Lines: 3017

💛 - Coveralls

@serkan-ozal serkan-ozal merged commit c20d315 into master Aug 21, 2019
@kobalski kobalski deleted the feature/add-resourceMaxDuration branch October 30, 2019 12:28
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.

None yet

3 participants