Sha256: 4392f403f17d2f27c38bf23f23b4a4e8e5eddd6a9df0e56f81bd8ef2c392f57d
Contents?: true
Size: 283 Bytes
Versions: 2
Compression:
Stored size: 283 Bytes
Contents
module Overcommit::Hook::PreCommit # Checks for hard tabs in files. class HardTabs < Base def run result = execute(command + applicable_files) extract_messages( result.stdout.split("\n"), /^(?<file>[^:]+):(?<line>\d+)/, ) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
overcommit-0.26.0 | lib/overcommit/hook/pre_commit/hard_tabs.rb |
overcommit-0.25.0 | lib/overcommit/hook/pre_commit/hard_tabs.rb |