mattiasgeniar / puppet-pre-commit-hook

A Puppet pre-commit hook to validate syntax
MIT License
60 stars 36 forks source link

Bugfix: PIPESTATUS index wrong for erb check #26

Closed aleksmark closed 5 years ago

aleksmark commented 5 years ago

Needed to check the exit code of the second command in the chain ($path_to_ruby -c)

mattiasgeniar commented 5 years ago

Nice one, thanks!