Unified · Split
| @@ -604,7 +604,9 @@ export const isCommandAvailable = Effect.fn("shell.isCommandAvailable")(function · 603 unmodified lines | ||
| 604 | 604 | ) { |
| 605 | 605 | return yield* resolveCommandPath(command, options).pipe( |
| 606 | 606 | Effect.as(true), |
| 607 | − Effect.catchTag("CommandResolutionError", () => Effect.succeed(false)), | |
| 607 | + Effect.catchTags({ | |
| 608 | + CommandResolutionError: () => Effect.succeed(false), | |
| 609 | + }), | |
| 608 | 610 | ); |
| 609 | 611 | }); |
| 610 | 612 | |