build icon indicating copy to clipboard operation
build copied to clipboard

fix: omit duplicates from list of bundled functions

Open eduardoboucas opened this issue 4 years ago • 2 comments

Summary

When printing the list of bundled functions, Netlify Build uses zip-it-and-ship-it's listFunctions method, which includes functions that have not been bundled due to a naming conflict (e.g. when both function.js and function.ts are found). Because of this, Netlify Build was incorrectly reporting that both functions were bundled, when in fact only function.js was.

This PR removes those duplicate functions from the list.

Fixes #3974.

A picture of a cute animal (not mandatory, but encouraged)

110918_n13-baby-sloth-brevard-zoo

eduardoboucas avatar Nov 01 '21 11:11 eduardoboucas

@eduardoboucas What's the latest status of this PR? Should it be closed?

ehmicky avatar Mar 02 '22 17:03 ehmicky

Sorry, my bad. This fell between the cracks. I'm updating the branch and will merge this later today.

eduardoboucas avatar Mar 07 '22 11:03 eduardoboucas