From f83b0111b36c39deae980ba282b36e59ceddefa0 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Wed, 27 Apr 2022 19:26:35 -0500 Subject: [PATCH] Fix try to map Set --- build-lists.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build-lists.js b/build-lists.js index 2b9a5a5..1b31197 100644 --- a/build-lists.js +++ b/build-lists.js @@ -297,7 +297,9 @@ class BuildLists { // Add device support if ( this.shouldHaveDeviceSupport( listEntry ) ) { - listEntry.deviceSupport = this.lists[ 'device' ].map( device => { + const deviceList = Array.from( this.lists[ 'device' ] ) + + listEntry.deviceSupport = deviceList.map( device => { const supportsApp = deviceSupportsApp( device, listEntry ) return { ...device,