Skip to content

Commit

Permalink
fix: max arg length is by default half of the allowed to prevent edge…
Browse files Browse the repository at this point in the history
… cases
  • Loading branch information
iiroj committed Nov 27, 2019
1 parent 03ea132 commit 80406c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/lint-staged
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const getMaxArgLength = () => {

const options = {
configPath: cmdline.config,
maxArgLength: getMaxArgLength(),
maxArgLength: getMaxArgLength() / 2,
relative: !!cmdline.relative,
shell: !!cmdline.shell,
quiet: !!cmdline.quiet,
Expand Down

0 comments on commit 80406c2

Please sign in to comment.