Show arch name in profile for _findSources

This commit is contained in:
zodern
2019-12-23 13:01:59 -06:00
parent 9355787040
commit 18629d25ae

View File

@@ -1107,7 +1107,7 @@ _.extend(PackageSource.prototype, {
// complete list of source files for directories within node_modules.
_findSourcesCache: Object.create(null),
_findSources: Profile("PackageSource#_findSources", function ({
_findSources: Profile(({ sourceArch }) => `PackageSource#_findSources for ${sourceArch.arch}`, function ({
sourceProcessorSet,
watchSet,
isApp,