Commit 4bf38656 authored by Sarah GP's avatar Sarah GP

Add a better bool check

parent 0bdfe446
......@@ -14,7 +14,7 @@ const addMulti = (mainPipelineProjectPath, linkedPipeline) => {
};
const calculatePipelineLayersInfo = (pipeline, componentName, metricsPath) => {
const shouldCollectMetrics = Boolean(metricsPath.length);
const shouldCollectMetrics = Boolean(metricsPath);
if (shouldCollectMetrics) {
beginPerfMeasure();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment