From 83383630574e05925b4ee1d371a61dd2020285e4 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 17 Feb 2025 06:30:02 +0000 Subject: [PATCH] Pre-release 0.31.103 --- .../Sources/XcodeInspector/XcodeInspector+TriggerCommand.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Tool/Sources/XcodeInspector/XcodeInspector+TriggerCommand.swift b/Tool/Sources/XcodeInspector/XcodeInspector+TriggerCommand.swift index a3dcba6..2ea2b0a 100644 --- a/Tool/Sources/XcodeInspector/XcodeInspector+TriggerCommand.swift +++ b/Tool/Sources/XcodeInspector/XcodeInspector+TriggerCommand.swift @@ -9,8 +9,7 @@ public extension XcodeAppInstanceInspector { .object(forInfoDictionaryKey: "EXTENSION_BUNDLE_NAME") as! String guard await isBundleEnabled(bundleName: bundleName) else { - print("Bundle \(bundleName) is not enabled") - return + throw CantRunCommand(path: "Editor/\(bundleName)/\(name)", reason: "\(bundleName) is not enabled") } try await triggerMenuItem(path: ["Editor", bundleName, name], activateApp: activateXcode)