Skip to content

Commit

Permalink
Merge pull request #1878 from lf-lang/ts-never
Browse files Browse the repository at this point in the history
TS code generator adjusted to appease `eslint`
  • Loading branch information
lhstrh authored Jul 5, 2023
2 parents 1f6398a + c3bdc32 commit 4a80aba
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ private List<String> getUpstreamConnectionDelays(FederateInstance federate) {
if (delays != null) {
for (Expression delay : delays) {
if (delay == null) {
element += "TimeValue.NEVER()";
element += "TimeValue.never()";
} else {
element += "TimeValue.nsec(" + getNetworkDelayLiteral(delay) + ")";
}
Expand All @@ -217,7 +217,7 @@ private List<String> getUpstreamConnectionDelays(FederateInstance federate) {
}
}
} else {
element += "TimeValue.NEVER()";
element += "TimeValue.never()";
}
element += "]";
candidates.add(element);
Expand Down

0 comments on commit 4a80aba

Please # to comment.