Skip to content

Commit 8338363

Browse files
committed
Pre-release 0.31.103
1 parent 1dd4c21 commit 8338363

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Tool/Sources/XcodeInspector/XcodeInspector+TriggerCommand.swift

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ public extension XcodeAppInstanceInspector {
99
.object(forInfoDictionaryKey: "EXTENSION_BUNDLE_NAME") as! String
1010

1111
guard await isBundleEnabled(bundleName: bundleName) else {
12-
print("Bundle \(bundleName) is not enabled")
13-
return
12+
throw CantRunCommand(path: "Editor/\(bundleName)/\(name)", reason: "\(bundleName) is not enabled")
1413
}
1514

1615
try await triggerMenuItem(path: ["Editor", bundleName, name], activateApp: activateXcode)

0 commit comments

Comments
 (0)