christopherafbjur / sanity-plugin-icon-picker

MIT License
30 stars 25 forks source link

Modify pre-commit hook to run chained to avoid unnecessary execution #45

Closed christopherafbjur closed 1 year ago

christopherafbjur commented 1 year ago

Minor fix. Even if it works perfectly fine to run the npm scripts without chaining them, each script will run regardless if the previous command returned a non-zero exit code, so it's better to have them chained in order to cancel execution of scripts if one fails.