diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 067e4d5..67f9a45 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -48,17 +48,13 @@ jobs: analyze_wda: strategy: matrix: - os: [macos-13, macos-14, macos-15] - xcode_version: [14, 15, 16] - exclude: - - os: macos-15 - xcode_version: 14 - - os: macos-15 - xcode_version: 15 + include: - os: macos-13 - xcode_version: 16 + xcode_version: 14.3.1 - os: macos-14 - xcode_version: 16 + xcode_version: 15.4 + - os: macos-15 + xcode_version: 16.1 runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 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,