Commit ccf18d8d authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch 'boolean-followup-oops' into 'master'

Followup: Add a better bool check

See merge request gitlab-org/gitlab!68147
parents de156840 4bf38656
......@@ -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