From a5649726ea5b424bd328d33baf8b5a680b5d07d6 Mon Sep 17 00:00:00 2001 From: Mykola Mokhnach Date: Sat, 30 Nov 2024 18:29:21 +0100 Subject: [PATCH] chore: Update deprecated method name --- lib/commands/applescript.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commands/applescript.js b/lib/commands/applescript.js index d28f9d9..24d7c56 100644 --- a/lib/commands/applescript.js +++ b/lib/commands/applescript.js @@ -23,7 +23,7 @@ const APPLE_SCRIPT_FEATURE = 'apple_script'; * The actual stderr output is set to the error message value. */ export async function macosExecAppleScript (opts = {}) { - this.ensureFeatureEnabled(APPLE_SCRIPT_FEATURE); + this.assertFeatureEnabled(APPLE_SCRIPT_FEATURE); const { script,