serverless: deuniversalize fsevents.node

Closes #102432.

Signed-off-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com>
Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
Signed-off-by: Rui Chen <rui@chenrui.dev>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Michael Cho 2022-05-27 10:26:42 -07:00 committed by BrewTestBot
parent 02b7ea0c37
commit 3e503fd0a9
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
2 changed files with 3 additions and 1 deletions

View File

@ -29,6 +29,9 @@ class Serverless < Formula
.glob("sdk-py/serverless_sdk/vendor/wrapt/_wrappers.cpython-*-linux-gnu.so")
.map(&:unlink)
.empty? && raise("Unable to find wrapt shared library to delete.")
# Replace universal binaries with their native slices
deuniversalize_machos libexec/"lib/node_modules/serverless/node_modules/fsevents/fsevents.node"
end
test do

View File

@ -16,7 +16,6 @@
"netlify-cli",
"node-sass",
"openjdk@11",
"serverless",
"sourcery",
"swift"
]