From 085436778a970c287736859bd94b73c79f5f8257 Mon Sep 17 00:00:00 2001 From: Adrian Castro <22133246+castdrian@users.noreply.github.com> Date: Tue, 19 Mar 2024 21:05:49 +0100 Subject: [PATCH] chore: prettier --- .../withRemoveiOSNotificationEntitlement.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/apps/expo/config-plugins/withRemoveiOSNotificationEntitlement.js b/apps/expo/config-plugins/withRemoveiOSNotificationEntitlement.js index c9b9c78..f47ec1e 100644 --- a/apps/expo/config-plugins/withRemoveiOSNotificationEntitlement.js +++ b/apps/expo/config-plugins/withRemoveiOSNotificationEntitlement.js @@ -3,13 +3,14 @@ /* eslint-disable @typescript-eslint/no-unsafe-member-access */ /* eslint-disable @typescript-eslint/no-var-requires */ /* eslint-disable @typescript-eslint/no-unsafe-assignment */ -const withEntitlementsPlist = require("@expo/config-plugins").withEntitlementsPlist; +const withEntitlementsPlist = + require("@expo/config-plugins").withEntitlementsPlist; const withRemoveiOSNotificationEntitlement = (config) => { - return withEntitlementsPlist(config, mod => { - delete mod.modResults['aps-environment']; - return mod; - }) -} + return withEntitlementsPlist(config, (mod) => { + delete mod.modResults["aps-environment"]; + return mod; + }); +}; -module.exports = withRemoveiOSNotificationEntitlement; \ No newline at end of file +module.exports = withRemoveiOSNotificationEntitlement;