Skip to content

Commit

Permalink
docs: clarify the difference between piped and parallel options
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexox committed Feb 9, 2024
1 parent e69adc1 commit f7f01af
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -498,13 +498,21 @@ pre-commit:

**Default: `false`**

Whether run commands and scripts concurrently.
> **Note**
>
> Lefthook runs commands and scripts **sequentially** by default.
Run commands and scripts concurrently.

### `piped`

**Default: `false`**

Whether run commands and scripts sequentially. Will stop execution if one of the commands/scripts fail.
> **Note**
>
> Lefthook will return an error if both `piped: true` and `parallel: true` are set.
Stop running commands and scripts if one of them fail.

**Example**

Expand Down

0 comments on commit f7f01af

Please sign in to comment.