Fixed reporting duration between builds in gradle statistics
This commit is contained in:
@@ -65,7 +65,7 @@ class KotlinGradleFUSLogger : StartupActivity, DumbAware, Runnable {
|
|||||||
is BooleanMetrics -> putIfNotNull(metric.name, this.getMetric(metric)?.toStringRepresentation())
|
is BooleanMetrics -> putIfNotNull(metric.name, this.getMetric(metric)?.toStringRepresentation())
|
||||||
is StringMetrics -> putIfNotNull(metric.name, this.getMetric(metric)?.toStringRepresentation())
|
is StringMetrics -> putIfNotNull(metric.name, this.getMetric(metric)?.toStringRepresentation())
|
||||||
is NumericalMetrics -> putIfNotNull(metric.name, this.getMetric(metric)?.toStringRepresentation())
|
is NumericalMetrics -> putIfNotNull(metric.name, this.getMetric(metric)?.toStringRepresentation())
|
||||||
is Pair<*, *> -> putIfNotNull(metric.first.toString(), metric.second.toString())
|
is Pair<*, *> -> putIfNotNull(metric.first.toString(), metric.second?.toString())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (data.size > 0) {
|
if (data.size > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user